VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Create A Shortcut On The Desktop/Program File/StartMenu etc...

urbano da gama  (3 Submissions)   Windows API Call/Explanation   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This code enables you to create shortcuts on the desktop or startmenu or in the program file. This is especially useful when you need your setup program to create a program shorcut to the desktop which is not provided in the usual setup kit that ships with visual basic.

API Declarations
Public Declare Function OSfCreateShellLink Lib "vb6stkit.dll" Alias "fCreateShellLink" _
(ByVal lpstrFolderName As String, _
ByVal lpstrLinkName As String, _
ByVal lpstrLinkPath As String, _
ByVal lpstrLinkArguments As String, _
ByVal fPrivate As Long, _
ByVal sParent As String) As Long

Rate Create A Shortcut On The Desktop/Program File/StartMenu etc... (15(15 Vote))

Download Create A Shortcut On The Desktop/Program File/StartMenu etc...

Create A Shortcut On The Desktop/Program File/StartMenu etc... Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters