Creating Shortcuts

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone show me the way to create a shortcut to the file eg "c:\test.exe"
and place it in the folder eg "c:\"? (programmatically). Example in vb.net i
need, but either in c# or j# are accepted.

Tnx
 
I needed that functionality and couldn't find any built-in to the framework, so I used the WSH shell library:

IWshRuntimeLibrary.WshShortcut

(Import "IWshRuntimeLibrary" from the COM tab of "Add Reference...")

It worked for me ;)
 
Back
Top