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 ;)
--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"VladimirHorowitz" <Vl**************@discussions.microsoft.com> wrote in message
news:6C**********************************@microsof t.com...
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