Developing a web browser. How do I get it to save history?

2014-08-23T18:03:15Z

So I'm developing a web browser and I managed to add a history function that gives you the ability to add and remove urls. However when you exit and come back in, it doesn't save the history. So I was wondering is there a tutorial that fixes this?

2014-08-23T18:12:04Z

Oh and this is in Visual Basic

2014-08-23T18:31:29Z

It's clear you don't understand. You know how when you exit Chrome, Firefox, or Explorer it saves every page you've visited regardless if you're surfing? Okay with my little project it saves the data but only for the duration that you are running the program. I want to fix that.

Now if you don't have anything constructive to say then don't add in. In fact I would gather you know nothing of programming if that's the attitude you wish to take.

_Object2014-08-23T20:40:15Z

I can't tell whether you're trolling or serious.

Use a file. Stream the history to a file and read it at start-up.

You are in fact saying:
"I'm going to embed a JavaScript interpreter into my software, but first I need to learn how to use a file."

There is a bit of a disconnect here, hence the snarky answers.

Anonymous2014-08-23T18:13:09Z

How on earth do you expect a program to remember ANYTHING when it is stopped? Quite honesltly if you needed to ask this you should not be messing with programming, if you can not work that out for yourself you obviously are incapable of managing the more serious problem of security. Have you not even worked out that for ATHING to be stored on a machine when programs are closed, or even wen the machine is switched off, it must be stored on a the DISK? So here comes yet another totally useless and even dangerous browser.

Jeff P2014-08-23T19:00:22Z

You need to store this in a file. You could do it in XML, a text file, an SQLite database, etc. This could be done a million ways.