Share via


How do I make a desktop icon for my visual basic program?

Question

Friday, May 23, 2014 2:37 PM

Hello,

I have made a program using visual basic 2010. I have changed the task bar icon but I don't now how to change the executable file's desktop icon. Can you do it? Any help would be appreciated.

Thank you, Dan

All replies (2)

Monday, May 26, 2014 7:06 AM âś…Answered

Hi Dan,

Thank you for posting in the MSDN forum.

Just to make this issue clearly, when you install the VB app, you want to get an icon to be paced on your desktop, am I right?

Open Visual Studio:

  1. Create New Project->Project types = setup and deployment -> Setup Project
  2. Add your application to the setup project (Right click on Application->Add)
  3. Select "User's Desktop item"
  4. Right-click the space
  5. Browse to the applicaiton and add the shortcur.

Reference:

http://stackoverflow.com/questions/1325880/specifying-an-icon-to-be-put-on-the-desktop-during-installation

Like the following screen shot, you could set the Icon property.

Best Regards,

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.


Friday, May 23, 2014 2:52 PM

Hi Dan

I think you've only changed your form icon but forgot the executable's Icon! Change the application's Icon and then it's shortcut will show the application's icon