[RESOLVED] Menustrip + Adding Bookmarks
:check: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.
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.
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