Page 1 of 1

How do I...

Posted: Thu Jan 26, 2006 4:23 pm
by Patrickssj6
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 :D

Posted: Fri Jan 27, 2006 10:15 am
by Kurroda
i think you could have it save into a txt file but i dont no how what are you making

Posted: Fri Jan 27, 2006 7:01 pm
by xxANTMANxx
what are you programing with?

if its VB then i can help you

Posted: Fri Jan 27, 2006 7:12 pm
by Patrickssj6
Yes sry VB.NET.

Posted: Fri Jan 27, 2006 7:30 pm
by Kurroda
how would i get it to save the input in the drap down box on a webbrowser

Posted: Fri Jan 27, 2006 8:06 pm
by Patrickssj6
Well to save it go to

Code: Select all

Combobox1.Items.Add(Combobox1.Text)
that you could make like a button(in a webrowser the search button).
ut if you reopen the programm all links will be dleted.

Posted: Fri Jan 27, 2006 8:12 pm
by Kurroda
i still havent been able to find out how to do a history on a webbrowser let me try that that is a step foward

Posted: Fri Jan 27, 2006 8:16 pm
by Patrickssj6
Some guy wants to give me his modules tomorrow.He sais they can save the data :D

Posted: Fri Jan 27, 2006 8:19 pm
by Kurroda
could i use that on my web browser i still work on it no and then i want to make a ftp client but all the tutorails are for vb6 i have vb6 i just dont like it

Posted: Fri Jan 27, 2006 8:27 pm
by Patrickssj6
Get something with .net. :D

Posted: Fri Jan 27, 2006 8:29 pm
by Kurroda
i have vb 2005 ee and c# 2005 ee

Posted: Fri Jan 27, 2006 9:04 pm
by xxANTMANxx
well talk to me one aim and ill write somethign up to help u out then we can post here to help other people

my aim is Antman871

just tell me that i told u to ask for help so i know

Posted: Fri Jan 27, 2006 9:43 pm
by Kurroda
ANTMAN are you really good at vb becuase i need someone to learn off of

Posted: Sat Jan 28, 2006 8:37 am
by modder4321
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)

Posted: Sat Jan 28, 2006 9:26 am
by Kurroda
i already got it figured out antman help me

Posted: Sat Jan 28, 2006 3:02 pm
by Patrickssj6
Royal wrote:i already got it figured out antman help me
Can you tell me? :D

Posted: Sat Jan 28, 2006 3:09 pm
by Kurroda
um antman gave me a project with the source in it contact me and ill send u the source

Posted: Sat Jan 28, 2006 3:37 pm
by Patrickssj6
get on msn