Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i create a shorcut to my desktop for my applicat
Message
From
17/09/2001 23:56:33
 
 
To
17/09/2001 21:39:58
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00557595
Message ID:
00557632
Views:
16
This message has been marked as the solution to the initial question of the thread.
>Hey, How can i create a shorcut to my desktop for my application?
>
>
>I would like to add a shortcut to my desktop and to the startup menu,
>for any application i develop, i can do it by copying an pre - created
>shortcut of my exe application and move it to C:\windows\desktop, but
>i wanna do it professionally, i mean, by using API, give me a hand AMIGOS!
>
>Alvison!

You don't need the API for that, you could use the windows script host components. Especifically the WshShell object. See this brief example on how to create a shortcut: (MSDN) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wsh/htm/wsMthCreateShortcut.asp

IMO a cleaner, more professional way to create a shortcut for your application is through the use of an installation routine created by the package and deployment wizard or your favorite installer.

HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform