Solved

Shortcut to the exe in VB.net

Posted on 2006-11-13
3
1,017 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.Net - String Manipulation Scenario 2 30
Get month and date in a format 4 45
ModalPopup  question 22 38
Filtering a datagrid view 8 34
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 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