Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Info in general? and creating .LNK files
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00457373
Message ID:
00457405
Views:
32
>I've written a SETUP program for my application in VFP. Works great except for one thing. I need to create an .LNK file based on where the user has installed the application. How can I do that in VFP? Or more precisely, what APIs do I call (and how?) to do this?
>
>Which leads me to another question. Where do I get information on WIN32 APIs? Is there a ...CHM file somewhere? I'm using WIN2000 at the moment.
>
>I found something at http://msdn.microsoft.com/library/books/win95ui/chpt09-04.htm It's a little program in C++ to create .LNK files. But it uses CoCreateInstance (CLSID_ShellLink,...) and I haven't the foggiest notion how to call that from VFP. And I don't even know where to look!

Tom, see file#9419 "Shortcut Link Files DLL" by George Tasker in Files section/WIN32API & others APIs
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform