VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



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

by Lajili Houssem (6 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 5th November 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

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,...




Download this snippet    Add to My Saved Code

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

No comments have been posted about This code creates a shortcut for a file, a folder, or a url,.... Why not be the first to post a comment about This code creates a shortcut for a file, a folder, or a url,....

Post your comment

Subject:
Message:
0/1000 characters