VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This code creates a shortcut for a file, a folder, or a url,...

Lajili Houssem  (6 Submissions)   Windows System Services   VB 6.0   Unknown Difficulty   Tue 5th November 2002   Mon 8th February 2021

This code creates a shortcut for a file, a folder, or a url,...

API Declarations


Dim intFreeFile As Integer
File = File & ".url"
intFreeFile = FreeFile
Open File For Output As intFreeFile
Print #intFreeFile, "[InternetShortcut]"
Print #intFreeFile, "URL=" & Target
Print #intFreeFile, "IconFile=" & icon
Print #intFreeFile, "Iconindex=" & iconindex
Close intFreeFile
End Sub


Rate This code creates a shortcut for a file, a folder, or a url,... (1(1 Vote))
This code creates a shortcut for a file, a folder, or a url,....bas

This code creates a shortcut for a file, a folder, or a url,... Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters