| | |
Help for a real NOOB...
Please support our VB.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Jan 2006
Posts: 6
Reputation:
Solved Threads: 0
OK, I am very, VERY new to VB.NET :o
I am trying to develop a Windows application that is hopefully pretty straight forward. I'll try to explain best I can.
I have 4 text boxes (Phones, Field, Moves, and Out) and 64 drop down combo boxes. Each combo box has a peer combo box. The first has a list of names and the second has a list of the 4 possible assignments. I need to be able to select a person from the first combo box and a task from the second and have that person's name populate one of the 4 text box areas based on the selection of the second. I also need the other combo boxes to populate the next line of the text box if more than one person is selected for a single task. For instance, if Combo box 1's value is selected as "Bill" and combo box 2 is selected as "phones" I need "Bill" to appear in the "Phones" Text box. Also if Combo box 3's value is selected as "john" and Combo box 4 says "phones", I need John to appear under "Bill" in the Phones text box area.
Whew... can you guys help me out without me losing my mind?
Thank you all so much!!
Bill the Cat
I am trying to develop a Windows application that is hopefully pretty straight forward. I'll try to explain best I can.
I have 4 text boxes (Phones, Field, Moves, and Out) and 64 drop down combo boxes. Each combo box has a peer combo box. The first has a list of names and the second has a list of the 4 possible assignments. I need to be able to select a person from the first combo box and a task from the second and have that person's name populate one of the 4 text box areas based on the selection of the second. I also need the other combo boxes to populate the next line of the text box if more than one person is selected for a single task. For instance, if Combo box 1's value is selected as "Bill" and combo box 2 is selected as "phones" I need "Bill" to appear in the "Phones" Text box. Also if Combo box 3's value is selected as "john" and Combo box 4 says "phones", I need John to appear under "Bill" in the Phones text box area.
Whew... can you guys help me out without me losing my mind?
Thank you all so much!!
Bill the Cat
•
•
Join Date: Jan 2006
Posts: 275
Reputation:
Solved Threads: 11
64 combo boxes???? You sure?
My VB is rusty sorry (I am a c# person but it is the same in .net other than syntax mainly) so i will give you the pseudocode.
On the combo2 selected index event handler do a Select Case statement for each value possible and depending on the value populate the correct textbox with the combo1 text.
eg
The same applies with combo4 and use combo3 text for the textbox
Does that help?
My VB is rusty sorry (I am a c# person but it is the same in .net other than syntax mainly) so i will give you the pseudocode.
On the combo2 selected index event handler do a Select Case statement for each value possible and depending on the value populate the correct textbox with the combo1 text.
eg
VB.NET Syntax (Toggle Plain Text)
Case "Phones": TxtPhones.Text = Combo1.Text Case "Moves" TxtMoves.Text = Combo1.Text
The same applies with combo4 and use combo3 text for the textbox
Does that help?
![]() |
Similar Threads
- mIRC or Real Time Message Boards...in Linux (*nix Software)
- Java program using scanner (Java)
- drawStripes (Java)
- Excel to Web in Real Time? (ASP)
- NOOB question , graphical tiles (C++)
- Noob help please - HijackThis log inside - can you help me? (Viruses, Spyware and other Nasties)
Other Threads in the VB.NET Forum
- Previous Thread: OK, where do I start
- Next Thread: help me with hangman. code wrong.
| Thread Tools | Search this Thread |
"crystal .net .net2005 30minutes 2005 2008 access account arithmetic array assignment basic box button buttons center check code component connectionstring convert crystalreport data database databasesearch datagrid datagridview date design dissertation dissertations dissertationthesis dosconsolevb.net dropdownlist excel fade file-dialog firewall folder ftp generatetags hardcopy image images input insert intel isnumericfuntioncall math monitor navigate net networking opacity output passingparameters peertopeervideostreaming picturebox picturebox1 port problem problemwithinstallation project record reports" savedialog searchvb.net select serial shutdown string survey tcp temp temperature text textbox timer toolbox trim updown user useraccounts usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web winforms wpf





