Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETFILE() with .LNKs
Message
 
 
To
08/01/1999 08:38:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00173977
Message ID:
00174002
Views:
62
>I am having a frustrating time getting GETFILE() to return the name of a selected link file in VFP 6 (VFP 5 does the same). If a link file is selected using GETFILE(), it returns the name and path of the file linked instead of the link file itself. For example, I have a link file called "Visual FoxPro.lnk". It's target is "C:\vfp\vfp.exe". If I select it with GETFILE(), it returns "C:\vfp\vfp.exe" instead of "Visual FoxPro.lnk" (which is what I want it to return).
>
>Any clue what it happening here? Thanks.
>
>-Matt Gordon

I get the same results as you. Even the function LOCFILE() returns the target instead of the LNK file. I see nothing in Foxtools or VFP help to overcome this either. Maybe someone will present an API solution.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform