Solved

Shortcut to the exe in VB.net

Posted on 2006-11-13
3
1,013 Views
Last Modified: 2012-08-14
I want to have a shortcut to the exe on my desktop

When using the setup and deployment project ; setup wizard

I have 3 folders : Application , User desktop and users program menu

In the users desktop menu I create a shortcut and set teh target to the application folder

Now when I deploy my application a shortcut gets created which then shows the application folder, which then contains the exe

I want to have the shortcut directly to the exe, so that on clicking it the application gets executed directly

Please help
0
Comment
Question by:jbajaj
  • 2
3 Comments
 
LVL 13

Expert Comment

by:newyuppie
ID: 17935819
in your setup project, go to the File System Editor (View/Editor/File System).
you should now be able to see on your left the different folders on the target computer. you are looking for the User's Desktop folder. select that, and your your middle window (where you add files), right click and select "create a shortcut". now you will need to browse for the file in your setup project for which you need to create the shortcut.
does this work for you?
0
 
LVL 5

Accepted Solution

by:
DEEPESH earned 500 total points
ID: 17936322
Assuming that you have added an setup project to your application. (That you
have done Action Add Project output),

Than in the left frame the *application folder* is the selected one and in
that folder is the "Primary Output", (Don't ask me why here is chosen
"Primary Output", I absolutely don't understand that).

Than you right click on the created "primary output" in the pane and tell to
create a shortcut
From that you change the name to your program name, you set the
properties and drag that one to the window that normally is by default open
File Stystem on the left "User Desktop". (In advance you can set an icon and
set other properties of that shortcut).
You do this again however than drag it to the folder User's Program menu
in the left.

Don't forget without selecting anything to open the properties (if you
select something you get the wrong properties)

More confusing are some other properties select the setup project (header)
in the solution explorer *do not right click*, choose the properties
windows
0
 
LVL 5

Expert Comment

by:DEEPESH
ID: 17970793
Any comment on it jbajaj
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Close tabpage of custom control 9 34
Disable extension 8 38
Help with converting xml file to excel using VB.NET 3 20
RLDC Reporting in Visual studio 11 16
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

773 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