i want to save data on my small basic program what should i do??? RRS feed

  • Question

  • im creating a basic web browser in small basic. but i couldnt give saving skill to my webbrowser. i want to save history or save bookmarks to my webbrowser....

    sorry `bout bad english
    Wednesday, September 8, 2010 10:46 PM


  • You can write arrays to files and add items to arrays when user changes page or  adds something to bookmarks like:

    Data["Bookmarks"][BookmarkFolder][1] = "www.smallbasic.com"

    Data["Bookmarks"][BookmarkFolder][2] = "http://social.msdn.microsoft.com/Forums/en-US/smallbasic/"

    Timer.Interval = 10
    Timer.Tick = AddToHistory

    Sub AddToHistory
      Data["History"][Clock.ElapsedMilliseconds] = URLofwebbrowser

    Sorry My Bad English
    • Marked as answer by litdev Monday, October 4, 2010 7:36 PM
    Thursday, September 9, 2010 12:37 PM