Solved

Visual Studio 2010

Posted on 2013-10-28
3
242 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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