Solved

Shortcut to the exe in VB.net

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

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

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
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 …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

919 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

17 Experts available now in Live!

Get 1:1 Help Now