Hi, I want to make a little app for cleaning the start menu, by removing all dead links. I know I only have one problem with this, how do I get the path that a short cut points to?
Thanks in advance...
Printable View
Hi, I want to make a little app for cleaning the start menu, by removing all dead links. I know I only have one problem with this, how do I get the path that a short cut points to?
Thanks in advance...
Check out my codebank entry for VB 6 to do that but it will need converting to vb.net. It uses APIs so it shouldnt be too hard.
http://vbforums.com/showthread.php?t=322799
Thanks allot man, thats a new angle I would not have aproached, or didnt know to aproach..
I dont have VS on this comp, so do you know if I will encounter any issues off the top of your head, no stress man, it would just save me a days worth of waiting before I can get back to here or google...
Thanks...
Nope, other then perhaps if you run it on Vista it may not like it but getting start menu items with code like that is quite stable.
If you download the API Viewer utility or pininvokes addin you can easily get the equilivalent APIs in .NET. Then th rest is just as straight forward.