so~ I need some programming help in VB 2008
Here is what I was doing in the program:
1. I made a combobox to get the location and phone number in a notepad named "Resources.txt"
IE:???? Museum Metro
???????? 604-111-9999
???????? 1???????????????????????????? <<<<No. of staff
???????? 3???????????????????????????? <<<<No. of tourist
???????? B???????????????????????????? <<<<B opens in the morning
???????? Gargoyle Rock
???????? 604-333-5555
???????? 2
???????? 5
???????? A????????????????????????????<<<<A means it opens at midnight
the combobox selections have something that displays like "Museum Metro 604-111-9999"
(already finished)
2. I then made a listbox which copies the display in the combobox.
(done)
3. Now I need to put the other informations from the "Resources.txt"
into Textboxes but since I made the variables into an array(which are universal in the program), I couldn't just put them inside it since it the array changes when you pick Museum Metro or Gargoyle Rock. Also I can't put the array in the textbox since its not a
string and that it's an
array as specified
(having a hard time discovering)
I don't know if anyone actually knows of programming stuff but I think I need something like
For icount = 1 to 15
?????? strPhone = strPhoneNum (or something like that.....)
I don't actually know how to make this thing work but I need to get the phone number which is displayed into the combobox and then use it to find the other things in the "Resources.txt" into textboxes as well.
EDIT: ever wonder why I don't draw that much? It because of this stuff >>