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 ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top