How do I...

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

How do I...

Post 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
...left for good
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

i think you could have it save into a txt file but i dont no how what are you making
Image
xxANTMANxx





Posts: 108
Joined: Sat May 07, 2005 8:21 pm
Contact:

Post by xxANTMANxx »

what are you programing with?

if its VB then i can help you
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Yes sry VB.NET.
...left for good
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

how would i get it to save the input in the drap down box on a webbrowser
Image
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post 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.
...left for good
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post 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
Image
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Some guy wants to give me his modules tomorrow.He sais they can save the data :D
...left for good
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post 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
Image
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Get something with .net. :D
...left for good
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

i have vb 2005 ee and c# 2005 ee
Image
xxANTMANxx





Posts: 108
Joined: Sat May 07, 2005 8:21 pm
Contact:

Post 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
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

ANTMAN are you really good at vb becuase i need someone to learn off of
Image
modder4321





Posts: 118
Joined: Wed Mar 30, 2005 5:35 pm

Post 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)
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

i already got it figured out antman help me
Image
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Royal wrote:i already got it figured out antman help me
Can you tell me? :D
...left for good
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

um antman gave me a project with the source in it contact me and ill send u the source
Image
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

get on msn
...left for good
Post Reply