|
-
Jul 11th, 2007, 06:09 PM
#1
Thread Starter
Hyperactive Member
Get shortcut path...
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...
-
Jul 12th, 2007, 01:57 AM
#2
Re: Get shortcut path...
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
Last edited by RobDog888; Jul 12th, 2007 at 07:48 PM.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 12th, 2007, 03:25 AM
#3
Thread Starter
Hyperactive Member
Re: Get shortcut path...
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...
-
Jul 12th, 2007, 07:50 PM
#4
Re: Get shortcut path...
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|