Wednesday, June 19, 2013
 
    Search Web Link
Search Software
    
API Home » System » fCreateShellLink

fCreateShellLink

Category: System
Hits: 4421 Rating: fCreateShellLink has been rated 2.75 by  1159 users (2.75) votes 1159
Rate: 1-star  2-stars  3-stars  4-stars  5-stars
E-mail this API to friend E-mail this Code to a friend  save Bookmark this VB API Function
API Explanation
The fCreateShellLink creates a shell link

Parameter Information
Declare Function fCreateShellLink Lib "VB5STKIT.DLL" (ByVal lpstrFolderName As String, ByVal lpstrLinkName _
As String, ByVal lpstrLinkPath As String, ByVal lpstrLinkArgs As String) As Long

· lpstrFolderName
folder where to create the link

· lpstrLinkName
text caption for the link

· lpstrLinkPath
full path to the target of the link

· lpstrLinkArguments
command-line arguments for the link

Code



Private Declare Function fCreateShellLink Lib "VB5STKIT.DLL" (ByVal lpstrFolderName As String, ByVal _ lpstrLinkName As String, ByVal lpstrLinkPath As String, ByVal lpstrLinkArgs As String) As Long

Private Sub Form_Load()
' -> code by Raist Lin
'Create a shell link on your desktop
lngresult = fCreateShellLink("..\\..\\Desktop", "LINK", "C:\\myfile.exe", "")
End Sub





HOME | MUSIC | DOWNLOADS |  GAMES | TEST-QUIZZES | SITEMAP | ABOUT | HELP
Copyright © 2000 - 2013 Ex-designz. All rights reserved. Website Developed By Dexter Zafra of Myasp-net.com
Link to us | Advertisement | Contact us | Privacy Policy | Terms of use | Accessibility