vb desktop icon different from application icon - vb.net

I am trying to set the icon of my application. I set the icon once before by changing the property of the form and the property of the project. Now I am trying to change the icon to a different one. The icons of the form and the application have been successfully changed, but when I copy the application to the desktop, the desktop icon still remains the previous one. Can anyone please tell me how to change the desktop icon?
Thanks,
Kai

If you change the icon properly on the form it should get visible in the Taskbar immediately as soon as you start your application.
However even if you did change the project icon properly and therefore your executable has the correct (new) icon (check that in your \bin-folder) you can get the wrong (old) icon from the desktop because you system might retrieve it from the icon cache.
Please check the following link to understand that topic and to see how you can enforce windows to renew its icon cache.
Win 7--: http://www.winability.com/repair-windows-desktop-icon-cache/
Win 8++: http://www.winability.com/how-to-erase-icon-thumbnail-cache-windows-8/

Related

How to Change Application Icon through Code

I am working on a project and want to change its main application icon (EXE Icon) occasionally like X-mas or whatever through code. Tried some ways but its not working and rest only works to change Form's icon.

How to remove Desktop tab in KDE Plasma

I would like to remove the Desktop tab from KDE Plasma desktop environment and get rid of the context menu. Is there a way to do this ?
Hi Chris, Thanks for the reply. I am running KDE 4.14.8. I am not seeing what you are describing. The context menu is the menu when you right click on the desktop. I think you are calling it "desktop menu". My original snapshot show that menu. That menu changed depending what desktop theme I selected. I could not find anything call Configure Desktop. The closest thing to that would be Default Desktop Setting and there is not there about the Tweaks tab. The project that I am working on is kind of mission critical. It would be just a plain desktop without anything. The only thing the user can do is log on, does his job and log off. All the things that can distract the user will be removed. I got most of them except for this pesky toolbox.
To remove the toolbox:
right-click on desktop to get the desktop menu
select Configure Desktop, a dialog appears
switch to Tweaks tab
uncheck Show the desktop toolbox
You can also drag it to a corner (when widgets are unlocked), then it will not show the current activity name, but will still be accessible.

How to set custom icon for file-type in mac osx

I have a launcher application for some file-types in mac osx. I want to know is it possible to register custom Icon for file-types associated with my launcher application? and does anybody know exact behavior of OS, when does it show Icon and when does it show some empty icon?
Question 1:
It's easy. In finder, right click on the filename with the extension you're interested in.
Find the "Open with:" section,
Click on the blue part and navigate to your launcher app and select it.
Then click on "Change All..."
Write down, or remember what it used to be before changing it, in case you want to go back to the old behavior. It affects all files with that extension.
Question 2:
Check this link for information on filling in the images in your assets folder: App Icons
If you include an icon in your app, and do the above steps, the icon will show. If you don't include one, it won't.

Change Icon on Task Bar for VB.net

I have a program in vb.net which is ready to be published.
Its a small detail, but I'd like to change the icon on both the published app shortcut on my desktop, but more importantly on my taskbar (like where the chrome circle shows up).
Is there any way to accomplish this?
To change the main icon for your application, go to the "Application" tab under the project property page, and change the "Icon:" combo box.

Hide application icon from dock, but keep icon in task switcher?

It's possible to show/hide the application's icon from both the Dock and the Task Switcher by setting the "Application is agent (UIElement)" property to YES/NO.
However, is it possible to have an application show in the Task Switcher (Cmd + Tab), but not appear in the Dock?
Thanks.
I'm reasonably certain that this is impossible, and that the dock and the app switcher are using the exact same list to decide what should appear in them.
The reason for my believing this is that there's actually a procedure for removing an app's icon from the Dock, while the target app is running, that has nothing to do with the LSUIElement key. (It consists, essentially, of renaming/moving the app bundle and then restarting the Dock.) Even doing that, though, the app doesn't appear in the switcher.
(You can find the full procedure on macosxhints.com, if you're interested.)