Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do I read a bookmark/favorite in VB?

Posted on 2003-11-24
10
Medium Priority
?
282 Views
Last Modified: 2010-05-01
I want to write my own bookmark/favorite sorting app. How do read the bookmark/favorite file into VB?
0
Comment
Question by:Sparky191
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9810019
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9810027
Maybe i misunderstood your question.
You could create a simple text file with two columns and read it from line to line with simple Open statements.
0
 
LVL 1

Author Comment

by:Sparky191
ID: 9810121
I thinks thats creating bookmarks which is useful. But I don't think it shows me how to read existing favorites.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9810139
then, i really didn't undertand your Q.
0
 
LVL 1

Author Comment

by:Sparky191
ID: 9810307
I want to read in a bunch of bookmarks and then sort them, deleteing duplicates, regrouping them into different catergories etc. I don't know how to read in the file and get the info from the bookmark.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9810401
well, here we go:
we could use a csv file (comma separated text file), you could read and write to it as if it was a table from a database.
Here is a sample code to do it.
http://www.exceltip.com/st/Import_data_from_a_text_file_(ADO)_using_VBA_in_Microsoft_Excel/430.html
it is for excel but it could be easily translated to VB.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9810415
0
 
LVL 1

Author Comment

by:Sparky191
ID: 9810946
I can hold all the data in a multi dimension array for sorting, why do you suggest Excel? (Puzzled???)

How do I get all the url and shortcut names from my favorites folder in the first place. You've shown me how to create on a write one, but not how to read one. Or I have missed it in that vb.net code you posted at the start?

Thanks
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 1000 total points
ID: 9811101
In the example provided at the vbnet link there is a button with caption "Organize favorites".
And an advanved version at:
http://www.mvps.org/vbnet/code/browse/shdocvwfavadv.htm
0
 
LVL 1

Author Comment

by:Sparky191
ID: 9811175
Ah ok thanks. Purrrfect.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question