Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Favorites in VB 2008


chess_rock's Avatar
Member
0 0

Hey there people :)

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


spyware's Avatar
Banned
0 0

Store them in a database, or perhaps a text file.


chess_rock's Avatar
Member
0 0

ok, i'll google that ;) thank you :) if i have any other doubts i'll just post here ;)