Search Tools Links Login

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


Visual Basic 6, or VB Classic

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: 105 times

Categories

Visual Basic 6

Attachments

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


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.