Solved

Visual Studio 2010

Posted on 2013-10-28
3
237 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for the help.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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

16 Experts available now in Live!

Get 1:1 Help Now