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?
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!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.