RE: HOW TO find the target file name of a lnk file via an API ?
From: Perry (Perry_at_discussions.microsoft.com)
Date: 03/16/05
- Next message: BlackSabbath: "Re: ACTIVATE POPUP MenuContext AT MROW() ,MCOL()"
- Previous message: swdev2: "Re: Webhosting for FoxPro freeware?"
- In reply to: John L Veazey: "RE: HOW TO find the target file name of a lnk file via an API ?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Mar 2005 00:37:03 -0800
Thxs
"John L Veazey" wrote:
> Try this link. It shows several examples of how to deal with shortcuts using
> VBScript and JScript. The source in the examples for VBScript should work in
> VB6, as well.
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vtoriVBScript.asp
>
> --
> John Veazey
>
> "Perry" wrote:
>
> > This is exactly what I want to know. However, I know VB6 more than C and I
> > dont know VB that well.
> > I'm looking to call a routine from my VB6 program with the full path & name
> > of the shortcut/lnk file and want returned the target, in your example
> > "path"\myfile.exe
> > Is there any possability you might have something which I can use.
> > Appreciate anything.
> > Cheers
> > P
> >
> > "BlackSabbath" wrote:
> >
> > >
> > > Hi,
> > >
> > > I have a file "shortcut to MyFile.exe.lnk" in the startup directory
> > >
> > > How to find, via an windows API, the name of the target file ?
> > > (here "MyFile.exe")
> > >
- Next message: BlackSabbath: "Re: ACTIVATE POPUP MenuContext AT MROW() ,MCOL()"
- Previous message: swdev2: "Re: Webhosting for FoxPro freeware?"
- In reply to: John L Veazey: "RE: HOW TO find the target file name of a lnk file via an API ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|