Create desktop shortcut

teknoh20G

New member
Joined
Nov 24, 2015
Messages
3
Programming Experience
Beginner
Hello,
I'm trying to make it so I can select a URL from a list, and then push a desktop URL shortcut to the desktop with the ability to change the name. Just like if I were to right click on the desktop, and select new then shortcut, can't figure this out if anyone could please give me some insight it would be greatly appreciated.
 
Creating a Desktop Shortcut
The reference that is mentioned is found in Add Reference dialog, COM tab, "Windows Script Host Object Model".

Can also be done with late-binding (no reference):
Dim wsh As Object = CreateObject("WScript.Shell")
'etc
 
Back
Top