Solved

After deploying a vb.net Application I'm getting two Icon in the program menu

Posted on 2009-05-08
9
284 Views
Last Modified: 2012-05-06
Hi,

I have deployed a vb.net application successfully, however, for some reason in the Start Programs two icons are showing:

1. First Icon is the one that runs the application (which is what I want)
2. The 2nd icon is a shortcut of the icon itself

What am I doing wrong in my deployment settings that's causing that?

5-8-2009-2-48-55-PM.png
5-8-2009-3-22-41-PM.png
0
Comment
Question by:mkarkoukli
  • 5
  • 3
9 Comments
 

Author Comment

by:mkarkoukli
ID: 24340862
If I remove the icon from the User's Programs Menu, I endup getting a generic document icon. So where should I place the icon?
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 24340968
I believe that you need to specify the application icon in the project.
Project-Properties.png
0
 

Author Comment

by:mkarkoukli
ID: 24341137
The Icon is already specified as you indicated. But unless I specify it somewhere in the deployment settings it will not show up.
0
 
LVL 15

Expert Comment

by:JackOfPH
ID: 24341491
Put the icon in the application folder, not in the user program menu...
0
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.

 

Author Comment

by:mkarkoukli
ID: 24358714
In the application folder, there is no property for Icon, unless there is a trick to do it.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 24358955
Is this what you are looking for?


User-s-Desktop.png
File-Installation-Properties.png
0
 

Author Comment

by:mkarkoukli
ID: 24359140
I'm using VS 2008, you probably using an earlier version
5-11-2009-2-06-06-PM.png
5-11-2009-2-06-17-PM.png
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 24359296
No, that is VS.NET 2008.  It probably depends on what type of project that you are creating the setup project for, and how you created the setup project.

My steps:

1) Add a Setup project to a Windows Forms application project.

2) Right-click on User's Desktop from the "File System on Target Machine".

3) Select "Create Shortcut to User's Desktop".

4) Select the new shortcut on the right-hand side, and the properties are shown on the property grid.
0
 

Author Comment

by:mkarkoukli
ID: 24435154
This is been resolved by utilizing the One-click deployment instead.
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

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…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

27 Experts available now in Live!

Get 1:1 Help Now