Results 1 to 3 of 3

Thread: [RESOLVED] Menustrip + Adding Bookmarks

  1. #1
    New Member
    Join Date
    Aug 12
    Posts
    13

    Resolved [RESOLVED] Menustrip + Adding Bookmarks

    Hey,

    So right now I am creating a browser. So, I have a menustrip and written websites (like default bookmarks). Anyway, the problem is that, if I want to add another website while I am using the browser, how can I do it?

    Thanks in advance

    P.S: If anyone has a better title, please suggest, so that future searches could find this thread.
    Last edited by Paul Shane; Aug 19th, 2012 at 05:00 AM.

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 05
    Location
    Sydney, Australia
    Posts
    80,780

    Re: Menustrip + Adding Bookmarks

    The simplest option is to add a StringCollection on the Settings page of the project properties and then access it via My.Settings in code. The data gets saved and loaded automatically per Windows user. If you want to save more than one piece of data per item then you'll have to either use a delimiter and then join and break up the items yourself or else provide some custom method for saving and loading. To actually add a new item, you simply add a new item to the list, clear the menu in the UI and then re-call the method that loaded the list into the menu in the first place.

  3. #3
    New Member
    Join Date
    Aug 12
    Posts
    13

    Re: Menustrip + Adding Bookmarks

    Thank you for your help

    I will mark this a solved.

    For those wondering for the code, you can see this video: http://www.youtube.com/watch?v=1q6MwBvUOuA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •