?
Solved

How do I read a bookmark/favorite in VB?

Posted on 2003-11-24
10
Medium Priority
?
283 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
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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 Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month17 days, 4 hours left to enroll

864 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