-
May 20th, 2001, 08:33 PM
#1
How do I use fCreateShellLink in VB6?
So far, all the examples that I have seen use STKIT432.dll or VB5STKIT.DLL. VB6STKIT.DLL, however, doesn't work the same as the older dll's.
Declare Function fCreateShellLink Lib "VB6STKIT.DLL" (byval lpstrFolderName as string, byval lpstrLinkName as string, byval lpstrLinkPath as string, byval lpstrLinkArgs as string) as Long
This code just causes the program to crash. In order to create a shortcut, I have to include the VB4 or VB5 dll in my project. Any suggestions?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|