Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Shortcut or Program Icon in VB?
Message
From
10/03/1998 10:54:38
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, United States
 
General information
Forum:
Visual Basic
Category:
Windows API functions
Miscellaneous
Thread ID:
00083462
Message ID:
00083636
Views:
22
>I have a wonderful little application written in VB4, and it runs off the network. I need an installation program that will install all the supporting run-time files on the workstation, but not the EXE - OK, I've got that. Now I need to create an icon on each workstation, pointing to my program in the network directory to which it was earlier installed.
>
>I found Q155303, which describes how to create shortcuts in STARTUP, PROGRAMS or the DESKTOP, but it is not clear to me how I can CHECK to see if it's there already, nor how to allow the user to select WHICH program group to put it in.
>
>Can anyone help?

If you have VB5 (and it might be there in VB4 too) you should check the Setup project source code that comes with VB. There is a DLL called VB5STKIT.DLL that has some functionality like what you are talking about. You will have to do some digging, but I *think* it's there. If it is, you can just make some DLL calls to do what you need.
Jay Shepherd
Previous
Reply
Map
View

Click here to load this message in the networking platform