Search Tools Links Login

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

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.

Original Author: urbano da gama

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

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 90 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 3,985 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.