hi, can anyone tell me what's wrong with my code or show me a working code to add in to my program so that i can study and understand how the code actually works.. after i type in textbox, i want to be able to hit "enter" key instead of clicking on the button.. i do not mean that i want to disable clicking on the button.. i just want to let user be able to hit "enter" too.. my textBox is named textBox4, button is button3 and after the button is hit, it should open a tab page called …

Member Avatar
Member Avatar
+0 forum 2

how do i sort information in a listbox by name (that is, alphabetical order)? im doing c# programming n using microsoft visual studio .net 2003.

Member Avatar
Member Avatar
+0 forum 6

Hi Im using visual studio .net 2003 (not 2005) and I'm looking for a good database to work at and also helpful articles to help me, a newbie to c# and database, start creating a database and linking my forms' data from visual studio to the database. 1) If it is possible, how/where can I get templates or even completed database from people's app so that I can modify the codes and link to my program? Im sorry, but I've a time constrain now... I've been trying to do but failed as I could not understand the terms/meanings regarding databases... …

Member Avatar
Member Avatar
+0 forum 6

Hi I want to get data from Access instead of notepad. Here are the codes to get data from notepad by entering IC number (equivalent to ID number). The records are stored in 'Folder'. public void btnGo_Click_1(object sender, System.EventArgs e)// -->User can select the file by entering the IC Nunber in textbox and program will check for file existence and null file { enable(); /** [Retrieve IC Number from tboxEnterICNo] **/ strFileName2 = tboxEnterICNo.Text; path = @"Folder\"+strFileName2+".txt"; /** [Check for file existence] **/ if(File.Exists("Folder\\"+strFileName2+".txt"))// -->If file exists, open DisplayGraph form and display the graph { displaygraph.names = path;// -->copies the …

Member Avatar
Member Avatar
+0 forum 2

how do i sort information in a listbox by name (that is, alphabetical order)? im doing c# programming n using microsoft visual studio .net 2003

Member Avatar
Member Avatar
+0 forum 3

hi how do i update multiple rows? right now i can only update one row. it works like this now: user keys in customerIdNo and pwd1. a match in database will display pwd1 in textbox. textbox is databind to password field in access database. user can change the displayed pwd1 to pwd2 or to other pwd. when update button is pressed it updates the password field and changes pwd1 to what the user has changed. BUT only a row is updated. i've a few rows where the password field values are pwd1. i want all pwd1 to be changed to …

Member Avatar
Member Avatar
+0 forum 2

hi im using VS .net, MS Access and c# language. basically i tried to do an update command using oleDbDataAdapter and commandbuilder. i also searched for tutorials but i still cant get things going. could someone please tell me how come i couldnt generate update and delete commands using oleDbDataAdapter? i managed to do select command and my parameterized query is working well. i just want to do an update now. what other ways are there for me to do this and also ensure that the changes return correctly to the place that i queried from? if possible, i hope …

Member Avatar
Member Avatar
+0 forum 6

hi i need to use serial port to transfer data from RFID tag to a computer. i already have these functions but i donno how to call them. please help me to call the functions so that i can use them to download data from RFID tag to computer (into Access db). it's using string method to write the data from RFID to the computer.. how do i use varchar or some methods to read the data into Access db? i already have a table created in db. now i just need to download the data into the table. here …

Member Avatar
+0 forum 0

Hi I have 4 fields as my pk in access db.. I query for data in VS.NET 2003. I query by id AND pwd.. I can view the data in datagrid, but not update properly. When i update it says: The changes you requested to the table were not successful because they would create duplicate values in the index, pk, or relationship. Change the data in the field or fields that contain duplicated data, remove the index, or redefine the index to permit duplicate entries and try again. I tried to solve the problem by going to access db and …

Member Avatar
+0 forum 0

hi, i've to set some conditions to my program. user has to enter a string of 9 letters + numbers eg. x1234567y OR 12 numbers eg. 111111111111 before hitting the ok button (this ok button in my 1st form will direct me to my 2nd form if i keyed in correctly). the system will do a pop-up box telling u if u had keyed in an invalid no, that is not 9 letters + numbers nor 12 numbers. can someone teach me to link the forms by adding in the needed codes with some explanation if u can, to my …

Member Avatar
Member Avatar
+0 forum 5

hi im doing parameterized query whereby the user has to enter id and password. im using access database to store my data and using visual studio .net 2003 to build my app. if the id n password match, data is retrieved. i need help to ensure that password typed is of the exact case as stored in database. that means, if password in database is hELLo23 the user cannot access if he types hello23. how do i do that? second problem is how can i make it such that user types in password and the password appears like this ********? …

Member Avatar
Member Avatar
+0 forum 2

hi how do i specify criterior using textbox and button in form1 and display results using textbox controls in form2? thanks! =)

Member Avatar
Member Avatar
+0 forum 3

im a total newbie to c#, visual studio .net 2003 and even Access database 2000.. im doing my forms using visual studio and my data are all stored in access db.. i've some vague concepts abt how to design my app.. im not sure it'll work as i do not have enough knowledge yet, and i doubt i'll have enough time to research and come out with a solution on my own.. and so im here now, need some guidance, hopefully it's explained very simply to me as i really have some difficulty understanding those acronyms/terms for an app... im …

Member Avatar
Member Avatar
+0 forum 1

hi i got this error... what should i do? 'System.Windows.Forms.KeyEventArgs' does not contain a definition for 'KeyChar' thanks

Member Avatar
Member Avatar
+0 forum 1

hi im new to database and still figuring out how to use them... this is very urgent.. i want to retrieve a particular user's data from MS Access to my tab page of textboxes/radio buttons/combo boxes.. i want to allocate specific data in specific textboxes/radio buttons/combo boxes without using data form wizard.. i did databiding of controls to my table columns, but it's not showing when i run my app.. what should i do? i appreciate it if you could provide me with specific details due to my time constrain.. thank you!

Member Avatar
Member Avatar
+0 forum 2

hi im using MS access database to keep my data and using visual studio .net 2003 to design forms... i want to know how to retrieve data from access to my forms in visual studio .net.. what codes must i write in visual studio .net or must i use some access wizard to do what i want? thanks!

Member Avatar
Member Avatar
+0 forum 3

hi i just like to check if this database can be connected to or accessed by many computers...or is it only one computer can be connected to the database? please reply.. thanks! =)

Member Avatar
Member Avatar
+0 forum 1

i would like to know how to make my app work the way i want it... at first my app is like this> a user types anything in a textbox and as long as it's a length of 9 or 12 it'll open a form.. here's a small part from my program: private bool Validate(string Val) { if(Val!="") { if(Val.Length==9||Val.Length==12) { return true; } else return false; } else return false; } now i want to make sure that the user either keys in i) length of 12 numbers eg. 123456123456 OR ii) a letter that is either s/S/f/F + …

Member Avatar
Member Avatar
+0 forum 3

i've to set some conditions to my program. user has to enter a string of 2 letters + 7 numbers in this order eg. x1234567y how do i set the conditions to make sure the order is correct? thanks

Member Avatar
Member Avatar
+0 forum 1

hi, 1) how can a user close a tab page including the tab after viewing it?? 2) how do i disallow the user from opening the 2 or more of the tab page? (my tab page is opened by button click) i dont want to disable the button after opening 1 tab page.. any other ways to disallow opening the same tab page? thanks

Member Avatar
Member Avatar
+0 forum 4

hi, i wld like to create any app whereby the user is free to press any buttons 1-10 simultaneously and the forms belonging to the respective buttons will be displayed.. eg. when u hit button 1, form 1 will be displayed.. when button 3 is hit, form 3 will display.. however, as my app should allow simultaneous displaying of forms, i cannot use modal forms.. with non-modal forms, too many forms will be displayed and it'll be irritating to look at the computer screen.. ** i wld like to allow the user to display many non-modal forms n be able …

Member Avatar
Member Avatar
+0 forum 1

hi how do i give a name to a dialog box? when i put MessageBox.Text it gives me an error n i cant run the program.. what shd i do? thanks!

Member Avatar
Member Avatar
+0 forum 1

hi.. im new to c#.. got to do a project to display data (that was downloaded from another PC to my PC) on bar graphs like those u can find in [url]www.advsofteng.com/gallery_bar2.html[/url] > graph titled 'Product Revenue For Last 3 Years'.. i nid the codes to produce such a graph and which reflects my data on the graph.. In order for the graph to b displayed, i nid to let user click on tree view (on the tree view there's medicine 1, medicine 2 and medicine 3).. Under each of the medicine, user shd b able to click on any …

Member Avatar
+0 forum 0

The End.