Dim wsh As object = CreateObject("WScript.Shell") Dim PathLink As String = SpecialFolder.DesktopDirectory & "/test.lnk" If Not PathLink.ToLower.EndsWith(".lnk") Then PathLink = PathLink & ".lnk" End If Dim wshs As object = wsh.CreateShortcut(PathLink) wshs.TargetPath = ProjectFile wshs.Save() wshs = Nothing wsh = Nothing