Solved

Visual Studio 2010

Posted on 2013-10-28
3
238 Views
Last Modified: 2013-11-04
Does anyone know how to automatically create a desktop shortcut for my application
0
Comment
Question by:HKFuey
3 Comments
 
LVL 19

Accepted Solution

by:
mrwad99 earned 250 total points
ID: 39605594
Yes, this question has been asked many times before; I recall seeing it on MSDN and have found the link which explains it for you:

http://social.msdn.microsoft.com/Forums/en-US/126c09a2-6f38-4747-9ddd-55ff977fcba0/create-a-desktop-shortcut?forum=vbide

This example creates a shortcut on a button click handler, but you can put the code anyhere you want.
0
 
LVL 40

Assisted Solution

by:Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger) earned 250 total points
ID: 39605882
If you install your application through a .msi file, the software that you use to create the .msi should have a mechanism to do that for you.

For instance, if you use the Setup and Deployment tool that is provided with Visual Studio up to version 2010, you can add the short cut to your installation through a right click on the Primary Output in the Application Folder node of the File System window.

You then rename the created shortcut and assign it an icon through its context menu.

Once it is ready, you drag it to the User's Desktop on the left pane of the File System window.

Upon installation, the Windows Installer will use that information to create the shortcut and adjust the program location if the user install it somewhere else than in the default installation directory.

If you use another type of installer tool, check its documentation for shortcut.
0
 

Author Closing Comment

by:HKFuey
ID: 39620985
Thanks for the help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now