Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a Visual Basic 6.0 question.

Status
Not open for further replies.

lix

Programmer
Jul 28, 2003
5
US
I have a Visual Basic 6.0 question. I am making a setup program and am trying to incorporate the ability to create a short cut for the appliication on the desktop. How can I do this?

Thank you,
Lix
 
You can check this web site for a crappy Access database that copies a shortcut to the desktop:
Basically the function grabs the desktop directory location from the registry and then copies a shortcut there. You can adapt the code to suit your needs.
 
The icon should be automatically created by the P&D wizard. It is also created by the much better (and free download) Visual Studio Installer.

For example code on how to do installation tasks, look at \Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1\Setup.vbp - this is the source code for the P&D wizard installer application - full of very good code!
 
Oh, and BTW there is a dedicated VB5 & 6 forum at forum222
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top