The help file says that any icon added to the application under resources should be listed in the drop down for the application icon.
Mine do not show up! Anyone know why
The help file says that any icon added to the application under resources should be listed in the drop down for the application icon.
Mine do not show up! Anyone know why
Application Icon
Danny Gilbert
I have already added code in the startup of the program to add a desktop shortcut icon.
IECUSTOMIZER
I had the same problem. I think it is a bug: I will log it in our bug database so that a devoloper will look at it.
It seems that if the extension is .ICO (Uppercase) it will not show up. Try to rename your icon extension (for example from the solution explorer) to .ico (Lowercase): it worked for me
Luca Dellamore
Visual Basic Test Team
yoPCix
Further update - you were indeed on the right lines. . .
When I renamed the file in Explorer I loaded the file into Resources where its name was shown in lower case. However, it did not appear in the list. When I did a Browse from the Application Icon page, I noticed that it still displayed the filename in upper case.
So, I loaded the file into the icon editor (double click) and saved as a new file name in lower case. Now it shows in the drop down!
Magic! (aka a bug)
Johnathan Seal
Mike - we haven't been able to reproduce this problem here. Some questions that might help us diagnose the problem:
Is there anything unusual about the icon Does it work if you use a different icon
Have you made sure that all the images in the icon are what you expect Icons can have more than one image of different resolutions and colors, and which image is shown at any time will be picked by the operating system depending on certain settings. Double-click on the icon in solution explorer, then in the menu go to "Image" then "Current Icon Image Types" to select which image you're viewing. Maybe sure none of them are blank.
Does it work if you publish on the same computer you built on
jesuscheung
Sharad (WinScribe NZ)
Sorry for slow response but I have been away for a few days - decorating daughter's new house extension!
Thank you, the advice has enabled success, at last.
However, I mujst look firther for information about Build Action as it seems to be rather more important (and often needing non-default settings) than an initial reading of the introductory pages to VB Express 2005 indicates (where I did not notice it at all)
Thanks for your help
TroyR
It is a *.ico file which I added as an icon in the resources editor. (No, I did not add as an image) It is the application icon which I have used in all previous version of visual basic.
The reason I am particularly interested is because when I set the application icon using browse to nominatethe icon stored in the Project folder and then install from a ClickOnce publish, the start menu item does not pick up the application icon. I was wondering wehther it needed to be referenced from the resources in order to do so.
lhoodwinkle
Mike,< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
To have a custom icon displayed in your ClickOnce application the icon must be deployed with the application and the file must be specified as the value for the iconFile attribute in the .exe.manifest file.
In Visual Studio, this should be as easy as selecting the icon file for the Icon on the Application Property Page. (The icon file must be part of the main project.)
I hope this information helps you solve your problem. Please let me know if it does not.
Regards,
Elizabeth Maher
VB Team
vid83
sab7a
I believe we would need more information to help. Is the icon file available somewhere we can look at Did you make sure to add it as an Icon in the Resource Editor, and not as an image Is it a .ico file
SenthilP - MSFT
Thank you for the speedy response!
Some answers/observations:
1. It works when published on computer it was developed on as well as another local machine. It is when published on another intranet which only has links across the network that the icon is not displayed.
2. When I double click in Solution Explorer (under Resourcs or Data Files) it loads the icon into Paint which does not seem to have the menu entry you describe. However, I have loaded it into another package which tells me that it is the only image: 32x32 16 colours.
3. I am making the assumption that, like previous versions, it is not necessary to do anything other than to nominate the icon and that it is then packaged with the application.
4. I have tried using a different icon but the result is the same.
5. The icon is correctly displayed on the panel shown whilst doing the install (following the one which asks Install/Don't Install
6. The same icon was nominated as the icon for frmMain and that is shown correctly.
7. The installation on the remote machine was done by copying the publish directory to that intranet and running setup from there.
8. And, finally, I installed back across the net, from the remote system onto the development machine and it does show the correct icon on the Start menu!