Post by bobowk on Mar 1, 2017 18:55:00 GMT 10
How would I save the bookmarks with the icons and text, tags, and names? I'm happy to play around with the Properties.Settings Thanks!
|
|
Post by altair on Mar 3, 2017 3:39:37 GMT 10
|
|
Post by Imformas on Mar 3, 2017 22:26:53 GMT 10
Just use a empty text file and store all your bookmark urls in it, and parse it like.. // Write the bookmarks using(var stream = new StreamWriter(filePath, true)) { stream.write(bookmarkURL + "|"); stream.Close(); } //parse it var bookmarks = new StreamReader(filePath).ReadToEnd().Split('|'); for(int i = 0; i < bookmarks.Length;i++) { var bookmark = bookmarks[i]; if(!string.IsNullOrEmpty(bookmark)) { // add your code here to add after parsing bookmarks. } }
Then get the icon, and name after parsing the bookmark url from the "filepath" so it all stays in one file
Programming language'sCSharpC++CObjective-CVBProject'sSharpMediaSharpEditYoutifygithub.com/Stephen-Fox-0
Last Edit: Mar 3, 2017 22:29:43 GMT 10 by Imformas
|
|