Access IE favorites programatically

J

JP

I have the need to be able to access the IE5+ favorites
menu, read the title and URL for each shortcut so I can
render the person's favorites list on a web page.

The project I'm working on is written is C#, and is web
based. I had hoped there was a URL property or something
I could use in the System.IO class, but no such luck, and
websites aren't very clear on the steps or even if its at
all possible.
Again, basically want to read persons favorites list
programmatically and display them on a web page, with no
client side dependencies.

Any help would be appreciated.

JP
 
P

Peter Rilling

Bad news, you cannot access the favorite programmatically from the server,
just like the server cannot access the client's disk drive. You will have
to implement this using some client code.
 
P

Peter Rilling

By the way, think of the privacy concerns if any server could read the list
of favorites.
 
J

JP

The application is for internal use only on a private
network. We contol all the PC anyway.

Suppose I could use Java/VB script (all our cients are
required to be IE). But Im not sure of the process?

Any idea
 
N

news.microsoft.com

Favorites are just .lnk files in a favoraites folder. just code normal file
handling
 
P

Peter Rilling

I take back some of what I said. It still may not be totally effortless,
but you might look into using the client-side method ImportExportFavorites .

Looks like this might export the favorites to the server via a post. One
way to solve your problem, if this works, might be to send some script to
the client to export the favorites. Then post the information back to the
server which will render the contents.

However you do it though, you will probably need to go through the client to
get the information.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top