>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.aspIMO 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