199,114 Archived Topics
Remove Filter ![]() | |
I hate to complain, but I'm not terribly impressed at the documentation for utilizing binding, it covers quite a bit but not common stuff, or maybe I'm just missing it. I was wondering how I could make the <RETURN> key equivalent to a <BUTTON1> click when a button is highlighted … | |
Have just finished my first attempt at a playable and interesting game in VB. Originally started in VB 6 i decided to re-write and expand in VB 2010. Just wondering if anyone has any ideas or comments on how it could be expanded/improved. :) | |
I am working on a pagination.From the index page it goes with a variable .For an example: [CODE]viewproduct_by_category.php?categoryid=1[/CODE] the value 1 comes from database.So the error is ,first time the page shows up all the images that has the categoryid =1 but second time when ever I press next page … | |
How would I get started? This site is the perfect example: [url]http://applereviews.com/[/url] This site also has one: [url]http://energycell.co.uk/[/url] Could I just use their js and css and place it on my site? [CODE] <link rel="stylesheet" href="http://applereviews.com/wp-content/themes/apple-reviews/style.css" type="text/css" media="screen" /> <!-- jQuery --> <script type="text/javascript" src="http://applereviews.com/wp-content/themes/apple-reviews/js/jquery-1.3.2.min.js"></script> <!-- jQuery Functions --> <script … | |
[B]What I want on the first run thru[/B] is to ask for input, print input, ask for 2nd input, print 2nd input. End the first run, saving inputs to text file. My results are: input 1 input 1 again. input 2 input 2 again. On the 2nd time thru, it … | |
heyy pplz I'm new to programming and C just now decided to set myself a project and chose to make a simple roulette game so far i got a basic idea but would require too much code and am sure there must be a simpler way.. if anyone could help … | |
i have two DatePickers on form and I want filter between two dates. So when i click search in lsitview display the dates between can anyone tell me how to deal with? | |
Hi, I want to create a function to test the first character of a string to see if it is lower or upper case, and change it accordingly. However, the rest of the string has to stay the same. Dim S As String = "C:\Users\profile" should be returned as "c:\Users\profile" … | |
how i can pass inside a vector an array? i know how to do it without classes but i don't know how to do it with constructor. i try to create a 2nd constructor that takes array of integers and the size of array and initialize a vector. header [CODE]#ifndef … | |
Hi guys, I'm trying to hook the keyboard in vb.net. Who can show me an example where you press button "F2" and a message box appear (MsgBox("You've pressed F2")). I need to hook the keyboard to make some action when DirectX application is running (I've Already tryed with "registerhotkey" but … ![]() | |
Hi all, To do OCJP certification what are the things should I learn . Pls suggest some good tutorials Thanks in advance | |
I am converting a program written using Borland Turbo C to M$ Visual C++ 2010. I have created a Win32 application, and have now managed to write to a window. But the font that has come out is a proportional one, and I need a fixed font for everything to … | |
Hi Everyone, I have an existing VB6 application distributed to client using the Microsoft Visual Studio Installer 1.1 (VSI). The .Msi file has been installed by the client. Subsequently, I have changed the VB6 code and need to give the client an upgrade. The upgrade consists of 2 files ... … | |
Hello, I have a problem with my program that I can´t figure out. I would appreciate if someone could give me some hints on what to do. I am trying to write a program that checks how many random numbers less than a positive integer N one should generate before … | |
I have an input file that i make into a string, it looks like this "1+2+3+45*5*2" My problem is when i print the string it always prints as single characters instead of 45 i get 4 5, how do i fix this. heres a small piece of the code. [CODE] … | |
My teacher just told us that we have to write this program that it will compile in ".c" i was taught ver little in my intro about c++ however i dont know how to write in .c and although i told my teacher he insisted that i read the book … | |
![]() | How can I use a variable to create another variable so that the output is not the content of the new variable but the php code for the new variable? For example: If variable $a = "house" and the name of the final variable is $b, then how do I … ![]() |
Hi, I am developing a small E-commerce site, but at one point i need your precious help. I want to print the order directly when the order will placed without clicking any print option. Any help will be appreciated. Thanks in advance. Regards, Arun | |
My table has 4 types of "r1": 'Standard', 'HD', 'HD + DVR', 'None' There are 3 types of "status": 'NTC', 'Repair', 'In Progress' All I am trying to do is retrieve all of the rows where r1 = 'Standard' and matches all three of the "status": [code] SELECT * FROM … | |
I want to create a function or a class method that will create a dictionary named by a variable that is passed in. By way of example, I'm creating a class method to read data from a table (in this case it's an ArcGIS table, but that's not critical) and … | |
Some system info before proceeding further: Platform: Mac OS X 10.7.1 Python Version: ActiveState Python 2.7.1 wxPython Version: [url=http://downloads.sourceforge.net/wxpython/wxPython2.9-osx-2.9.2.1-cocoa-py2.7.dmg]wxPython2.9-osx-cocoa-py2.7[/url] I want the button label to be changed while performing a task So, here is what I did/want: [code]self.run_button=wx.Button(self.panel,ID_RUN_BUTTON,label='Install') self.Bind(wx.EVT_BUTTON, self.OnRun,id=ID_RUN_BUTTON) def OnRun(self,evt): self.run_button.SetLabel('Installing..') #call a function that does the installation … | |
i ask my teacher why java doesn't support pointers my teacher reply me that it is because pointer's are very hard to understand so java doesn't support the pointers. but i don't think that it is true. please help me by giving the right reason. | |
I am trying to deploy a simple struts application using jsp and am getting the following error when i try to deploy [ICODE] HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Exception in … | |
Hi everyone, I want to compile a simple assembly language program like helloworld.asm in visual studio 6. I don't want to use MASM as assembler. I want to include NASM as assembler. please help me out. thanks in advance..:D | |
I am having trouble figuring out how to convert base 10 to base 3, I have tried several different attempts and this is my latest effort, anyone have any ideas. I was giving this algorithm but am having trouble creating a function for it: [B] 1. Set k to the … | |
Hello, I'd really like some help on this. How can I add the server's root folder of "english" to this: [B]~ s/_e\.shtml/_f\.shtml/ [/B] This searches all occurences of [B]_e.shtml[/B] and replaces them with [B]_f.shtml[/B] (it being in the same folder). Yet, in between that, I would like to add the … | |
Hi, I'm trying to create a 2D grid that would allow me to use fluid properties in each cell of the grid, which is defined by a struct. I have 3 grids: [CODE=c]Grid2D <fluidProperties> grid1; Grid2D <fluidProperties> grid2; Grid2D < fluidProperties> grid3;[/CODE] My struct fluidProperties contains 12 different properties: [ICODE]struct … | |
Hello, here is a thing, i'm beginner at wxPython ant Pyhton too. I have written small program here is a example: [CODE]import wx import urllib2 import re class MyFrame(wx.Frame): def __init__(self, parent, title): wx.Frame.__init__(self, parent, -1, title, size=(600,400)) self.panel=wx.Panel(self) self.areaa = wx.TextCtrl(self.panel, pos=(0,10), size=(400, 20)) self.area = wx.TextCtrl(self.panel, style = … | |
Hello! I have a problem in trying to convert a string into an integer. I'm not supposed to use the routine atoi, ie I have to do it on my own. Here is the code; [CODE] .data String: .asciz "1234\n" Show_integer: .asciz "The integer = %d\n" Intg: .long 0 .text … | |
Hello! I am writing an application for an embedded system with GUI written in swing. I now want to incorporate animations in the GUI to enhance usability. Hypothetical example: The user sees a table with some buttons ant things around it. The user can temporarily "save" the table, which makes … | |
Hi, I am using the following codel. But it is always returning 'False'. Even though i gave correct values.. Plz help... [code] PrincipalContext adContext = new PrincipalContext(ContextType.Domain, "xxx.xxx.0.15", "Administrator", "Password"); using (adContext) { return adContext.ValidateCredentials(userName, passWord, ContextOptions.Signing); } [/code] I tried the this one also.. [code] DirectoryEntry de = new … | |
I was just wondering if anybody has any ideas on how I could allow a users input to be disguised on the screen when they're entering their passwords (such as the case about everywhere on the internet) i.e. gmail's black dots in place of the actual text of a password. … | |
Guys, i have problem in my search button after i search the name it didn't highlight the name of the person. this is the code that i found on the internet. [CODE]Dim searchName As New TextBox Dim sname As String sname = InputBox("Search for gym user." & searchName.Text) Dim foundItem … | |
Hey guys! I started learning Python 3 four days ago and I wrote a little command line RSS Reader (~120 lines) using the [URL="http://feedparser.org/"]feedparser module[/URL]. The rss reader currently has a menu, and also receives command line arguments (run the script with "-h" or "--help" for more info). It has … | |
Hi all I am getting following exception in mysql db randomly. ** END NESTED EXCEPTION ** Last packet sent to the server was 1 ms ago. 11-9-2011 12:0:11 Exception in readFile Method in insertRecordInDataBasecom.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException at … | |
I have created a python script that gets and returns the size of files with given start&end date params. I have written function for a check box that when clicked it displays a hidden field. In this hidden field I would like the size of the files to be displayed. … | |
I am trying to compile this example [url]http://www.boost.org/doc/libs/1_42_0/doc/html/boost_propertytree/tutorial.html[/url] and I am getting the error "/usr/local/boost_1_47_0/boost/property_tree/detail/ptree_implementation.hpp:795:54: error: request for member ‘put_value’ in ‘tr’, which is of non-class type ‘bool’" in this line: BOOST_FOREACH(const std::string &name, m_modules){ pt.put("debug.modules.module", name, true); } My full error message is: make all Building file: ../src/Boost_property_tree.cpp Invoking: … | |
hey... i'm using Visual Studio 2010(c#) for a winapp i'm writing. i have a DataBase in which i have 6 tables and there are so many fields in them that use unicode characters( Persian) and all of them are nvarchar(n) type cuz i had problem with text earlier, but when … | |
If I have a vector of structs [CODE] struct widgets { string widgetName; int age; int color; }; [/CODE] and widgetName had multiple words in lets say widget one type 45 blue widget two 34 yellow widget eight 46 green widget ten type 33 pink and I wanted to search … | |
hi, i have one chat project. i m totally noob in that. in that server and client scripts... how can i test or run in my browser. i use vs2010 and mssql 2008. please help me.. thanks in advance jack | |
Dear Friends! i send image using email function and it cant show on the receiver side?? i used html script inside the massage body to send images. whats the solution? | |
Hello everyone I have a problem. i want to make a form with movable command buttons. the aim is that these buttons will represent the computers that are installed in one room. or the tables in one bar. all the tables can change depending the order that user give. can … | |
it's a search listview and i want to retrieve the data all i want is to populate a data in listview per each row please help... here's my sample code [CODE] Dim objDataReader As OleDbDataReader objDataReader = objCommand.ExecuteReader If objDataReader.HasRows = 0 Then txtCostCenter.Text = "" txtDivision.Text = "" End … | |
i have a reminder section in program and I want to see some icon when 2 days before to remind so i need to sort dates and i need to measure the time interval :) how can i do this thx for Answers :) | |
okay so ive finished this code but now i have to modify it so that it uses the following lines of code to make the program "easier" to understand private static void writeText(BillboardInterface billboard, int x, int y, String text) private static void writeLetter(BillboardInterface billboard, int x, int y, char … | |
Hi, I have positioned my images in PHP. Now what I am looking to do is add some animations: 1. try to drag a image from the mouse on the page 2. make the image dissapear and a new image in the same location after say 15sec 3. give the … | |
[B]Good Morning, I have a CSV file with thousands of rows of data, and I want to have this data uploaded into a table in a MySQL database. I also want an area where the file could be selected from the computer for the data to be uploaded. Could this … | |
I am sending mail after a user enter his/her email. In email message there is link which will be opened by user. The anchor tag is working fine in Gmail but not in Yahoo Mail/Indiatimes Mail. Here is the code block: [CODE] { $emailurl="3gmobile.co.in/phone_details.php?id=".$_REQUEST['id']."&model=".$_REQUEST['model']."&redirect=1"; $headers = "From: Donotreply@domain.co.in\r\n"; $headers .= … | |
hello sir, i am working on attendance system project.For that i want to use swap card machin.plzzzz tell me the connection code between swap card machine and in my attendance software. plzzzzzzzzzzzzzz help me......!!!!!!!!!!!! |
The End.