
How do I...
-
- Posts: 5426
- Joined: Sat Jul 24, 2004 12:12 pm
- Location: I'm a Paranoid
- Contact:
![]() |
![]() |
How do I...
like when i enter a name in a dropdown box and then enter another one that it saves these names in there.I know it has somehting to do with modules 

...left for good
-
- Posts: 108
- Joined: Sat May 07, 2005 8:21 pm
- Contact:
-
- Posts: 5426
- Joined: Sat Jul 24, 2004 12:12 pm
- Location: I'm a Paranoid
- Contact:
![]() |
![]() |
-
- Posts: 5426
- Joined: Sat Jul 24, 2004 12:12 pm
- Location: I'm a Paranoid
- Contact:
![]() |
![]() |
Well to save it go to
that you could make like a button(in a webrowser the search button).
ut if you reopen the programm all links will be dleted.
Code: Select all
Combobox1.Items.Add(Combobox1.Text)
ut if you reopen the programm all links will be dleted.
...left for good
-
- Posts: 5426
- Joined: Sat Jul 24, 2004 12:12 pm
- Location: I'm a Paranoid
- Contact:
![]() |
![]() |
-
- Posts: 5426
- Joined: Sat Jul 24, 2004 12:12 pm
- Location: I'm a Paranoid
- Contact:
![]() |
![]() |
-
- Posts: 108
- Joined: Sat May 07, 2005 8:21 pm
- Contact:
-
- Posts: 118
- Joined: Wed Mar 30, 2005 5:35 pm
if ur talking about saving so next time u open it has the same stuff u could do something like...
dim sw as new system.io.streamwriter(path)
sw.writeline(combobox1.items.count)
for i as long = 0 to combobox1.items.count - 1
sw.writeline(combobox1.items(0))
next
which would save the stuff and to load just use
dim sr as new system.io.streamreader(path)
for i as long = 0 to sr.readline - 1
combobox1.items.add(sr.readline)
next
there are many ways to do this but this is the only way i know that is understandible(for people new to programming)
dim sw as new system.io.streamwriter(path)
sw.writeline(combobox1.items.count)
for i as long = 0 to combobox1.items.count - 1
sw.writeline(combobox1.items(0))
next
which would save the stuff and to load just use
dim sr as new system.io.streamreader(path)
for i as long = 0 to sr.readline - 1
combobox1.items.add(sr.readline)
next
there are many ways to do this but this is the only way i know that is understandible(for people new to programming)
-
- Posts: 5426
- Joined: Sat Jul 24, 2004 12:12 pm
- Location: I'm a Paranoid
- Contact:
![]() |
![]() |
-
- Posts: 5426
- Joined: Sat Jul 24, 2004 12:12 pm
- Location: I'm a Paranoid
- Contact:
![]() |
![]() |