Follow us on Twitter!
Ideas are far more powerful than guns.
Thursday, April 24, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 32
Guests Online: 25
Members Online: 7

Registered Members: 82902
Newest Member: kcutta77
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Favorites in VB 2008

chess_rock
Member



Posts: 244
Location:
Joined: 20.02.08
Rank:
Apprentice
Posted on 12-02-09 21:36
Hey there people Smile

I've been learning some Visual Basic for some time now. I was programming a web browser and everything was going perfect... But then, a problem appeared...

I created a favorites' form with a list box, a button to add, remove and close the favorites' window. I tried the program and it worked out perfectly. But there is one fact which is driving me mad... When i add websites to the favorites, they work out great, but when i close the program, everything i added disappears.

I understand the syntax and i don't expect my favorites to be saved if i haven't declared them to be saved when the program is closed... All i need is a little push to understand how can i create a file where my favorites are saved and every time i start my application, the favorites load.

Can anyone help me please?

thank you,
chess_rock
Author

RE: Favorites in VB 2008

spyware
Member



Posts: 4192
Location:
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 12-02-09 21:52
Store them in a database, or perhaps a text file.



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
[center]�Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?� - Ebert[/ce
Author

RE: Favorites in VB 2008

chess_rock
Member



Posts: 244
Location:
Joined: 20.02.08
Rank:
Apprentice
Posted on 12-02-09 22:03
ok, i'll google that Wink thank you Smile
if i have any other doubts i'll just post here Wink