|
-
Aug 18th, 2012, 07:21 PM
#1
Thread Starter
New Member
[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.
-
Aug 18th, 2012, 09:33 PM
#2
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.
-
Aug 19th, 2012, 04:59 AM
#3
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|