• 0

Favorites menu


Question

13 answers to this question

Recommended Posts

  • 0

Yep, basically you get a directory listing of the users favorties folder and just create a new menu item for each or whatever, im not sure how ull get the path though...

Link to comment
Share on other sites

  • 0

I know how to get the path but I tried it and it doesn't look the same as in the start menu. Are you sure there isn't another way of doing it? Maybe I need to use a Win API ?

Also = does somebody knows of a way to launch the start menu? I think it can help me finds how to show the favorites.

Here is how to do it in C++: http://www.microsoft.com/mind/0798/favorites.asp.

But I want it in c# :(

Edited by yyy
Link to comment
Share on other sites

  • 0
I also notice that if I do it with a context menu I only see the path of the files in the favorite menu and not their real names :( What can I do?

Here is how:

http://support.microsoft.com/default.aspx?...kb;en-us;184780

But how can I do it in C# ?

584725601[/snapback]

You get to dive into the wonderful world of shell programming! Yay! Actually, you can probably find some code on Code Project that will help you get the display name. I think someone even wrote an import library for .NET that has a good portion of the shell wrapped. Ah, yes... here -> http://www.codeproject.com/csharp/csdoesshell1.asp

Link to comment
Share on other sites

  • 0
Also = does somebody knows of a way to launch the start menu? I think it can help me finds how to show the favorites.

584725403[/snapback]

You still interested how to launch just the start menu? It's really not hard.

Link to comment
Share on other sites

  • 0

Someone from another forum helped me :) It is being done by enumerating the Favorites folder content:

[DEFAULT]
BASEURL=http://music.msn.com/album/?album=10571479
[InternetShortcut]
URL=http://music.msn.com/album/?album=10571479
Modified=60B1BC387397C401D4
IconFile=http://music.msn.com/favicon.ico
IconIndex=1

Link to comment
Share on other sites

  • 0
Someone from another forum helped me  :) It is being done by enumerating the Favorites folder content:
[DEFAULT]
BASEURL=http://music.msn.com/album/?album=10571479
[InternetShortcut]
URL=http://music.msn.com/album/?album=10571479
Modified=60B1BC387397C401D4
IconFile=http://music.msn.com/favicon.ico
IconIndex=1

584735583[/snapback]

Uh... yeah, but that isn't how you got the display name. That ^^ info is contained in the file itself. How did you get the display name, or were you satisfied with just the url?

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.