Why is it that the icon of my form appears only when I am running it in my IDE. When I publish my program and running it in Windows, the icon does not appear at the taskbar, what appears is a default icon instead.

Can help me how to deal with it?

Make that "Can anyone help me how to deal with it?"

Have you tried to turn the form option "Show in taskbar" and "show icon" to true?

I had this same thing and in vb.net when you click the icon file there is a 16x16 and a 32x32. The form uses the 16x16 and then when I also created the 32x32 to match I discovered it used that for desktop shortcut, pinning to start menu, etc. Maybe that will help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.