Click here to Skip to main content
15,891,204 members

Comments by wcb2@cornell.edu (Top 7 by date)

wcb2@cornell.edu 29-May-13 18:50pm View    
It is a mdi form icon. This is the icon that windows displays on the taskbar when the app is running. When I say it, "works just fine". I mean just that. I can change the icon that windows displays on the taskbar at runtime. Yes, they are distinctly different icon files. The icon is changed when the user changes accounts via:

Me.Icon = New System.Drawing.Icon(Application.StartupPath & "\Images\" & myIconFileNames(2%))
wcb2@cornell.edu 29-May-13 16:43pm View    
If what I am asking about is impossible, please explain why it works just fine if I start the application by running the EXE directly. The app does exactly what I want and the icon changes at runtime in the taskbar! It only becomes a problem after creating a shortcut to the EXE.
wcb2@cornell.edu 29-May-13 16:37pm View    
You have not provided a solution. Rather you are suggesting alternatives. Therefore I would not consider your response a "solution".

At this point I disagree that it is impossible. So I will continue trying to figure it out. Thanks.
wcb2@cornell.edu 29-May-13 16:19pm View    
Why would it work fine when there is no shortcut targeting the EXE? It only becomes a problem after creating a shortcut for the EXE.
wcb2@cornell.edu 29-May-13 16:15pm View    
What I am trying to do works just fine when there is no shortcut to the EXE. As soon as a shortcut is created targeting the EXE, the taskbar icon stops updating at runtime. I would rather not get into a philosophical debate about why I should not try to do this. Instead, I would just like to know if anyone has done this successfully. And if so how. Thanks!