Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Creating Desktop Shortcuts Using Visual Basic
Subject:   Shortcuts without WindowsScripting Object?
Date:   2006-02-24 07:23:59
From:   JRCSystems
Here's a question:
Without using vb5 or 6 stkit.dll, and without
using WindowsScriptingObject, how do you create a desktop shortcut/shell .lnk file ?????


Why without any of the above?
a) I doubt a C programmer references a vb5stkit
which leads me to believe there must an entry-
point into a REAL system DLL that does that.
b) Depending on what software is installed on
the user computer, accessing the Windows-
Scripting object, displays nasty messages:
Like one from Norton saying your program is a
malicious script and defaults the operation
to "Do Not Allow".


So, how does a cleanly written, professional program create a desktop shortcut?


Thanks.
john@jrcsystems.com