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 06:00 AM.
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.