Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

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

Update:

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?

Update 2:

Oh and this is in Visual Basic

Update 3:

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.

3 Answers

Relevance
  • 7 years ago

    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.

  • Anonymous
    7 years ago

    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 P
    Lv 7
    7 years ago

    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.

Still have questions? Get your answers by asking now.