VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Simple Function for VB to create shortcut of any file/folder to desired location

by Pujan giri (Nepal) (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Thu 21st October 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Simple Function for VB to create shortcut of any file/folder to desired location

Rate Simple Function for VB to create shortcut of any file/folder to desired location



Set java = CreateObject("Wscript.shell")
Set Shortcut = java.Createshortcut(Path & "\" & Shortcutname)
Shortcut.targetpath = (Target)
Shortcut.WindowStyle = Winstyle
Shortcut.save
End Function

Download this snippet    Add to My Saved Code

Simple Function for VB to create shortcut of any file/folder to desired location Comments

No comments have been posted about Simple Function for VB to create shortcut of any file/folder to desired location. Why not be the first to post a comment about Simple Function for VB to create shortcut of any file/folder to desired location.

Post your comment

Subject:
Message:
0/1000 characters