Solved

How do I read a bookmark/favorite in VB?

Posted on 2003-11-24
10
278 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
Technology Partners: 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 250 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 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…

740 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