Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shell Links - Shortcuts

Status
Not open for further replies.

solo7

Technical User
Mar 14, 2001
243
NO
I've posted before on this subject. Using the replies I received I researched and experimented, but ...

I cannot seem to be able to create a Shortcut (as an installation option) using VB6. The MS web site gives explicit instructions on what should be a simple API function, but this function 'fCreateShellLink' is credited to be in VB4 and VB5. Am I missing something simple or has this function been 'enhanced','improved','renamed' in VB6??

Steady ... %-)
 
I had a similar problem where I couldn't create a shortcut in VB as part of an installation routine which I wrote. In the end I had to write the code to call fCreateShellLink in VC and compile it into a DLL which I could then call from VB. Ridiculous!

Anyway, rather than banging your head against a brick wall, that was the only way I could find to make it work. Giev up trying to use VB for this one.

- Andy.
 
This will work in most situations:


VCA.gif

Alt255@Vorpalcom.Intranets.com​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top