Home All Groups Group Topic Archive Search About

Problems with shortcut files

Author
4 Oct 2006 6:17 PM
tneufeld
Hello everyone,

I need away to find the actual file a shortcut points to, using VB.  I
am not even sure where to start.

You help is greatly appreciated.

TIM

Author
4 Oct 2006 8:16 PM
Mattias Sjögren
>I need away to find the actual file a shortcut points to, using VB.  I
>am not even sure where to start.

You could start here:
http://www.msjogren.net/dotnet/eng/samples/dotnet_shelllink.asp


Mattias

--
Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Author
4 Oct 2006 11:15 PM
tneufeld
Mattias Sjögren wrote:
Show quoteHide quote
> >I need away to find the actual file a shortcut points to, using VB.  I
> >am not even sure where to start.
>
> You could start here:
> http://www.msjogren.net/dotnet/eng/samples/dotnet_shelllink.asp
>
>
> Mattias
>
> --
> Mattias Sjögren [C# MVP]  mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup


I tried searching for the Class ShellShortcut that is refered in this
page.  But I cant seem to find it anywhere.  How do I access this .net
class.
Author
5 Oct 2006 8:40 PM
Mattias Sjögren
>I tried searching for the Class ShellShortcut that is refered in this
>page.  But I cant seem to find it anywhere.  How do I access this .net
>class.

ShellShortcut isn't a standard .NET class library class. It's defined
in the ShellShortcut.vb source file in the download package.


Mattias

--
Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.