Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i create a shorcut to my desktop for my applicat
Message
De
17/09/2001 23:56:33
 
 
À
17/09/2001 21:39:58
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00557595
Message ID:
00557632
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform