Taskbar icon doesn't show up on window based console window

63 Views Asked by At

Hi everyone I am an amateur programmer creating GUI's. I use auto-py-to-exe when I choose my console window as "Window Based(hide the console)" before creating my .exe file the icon doesn't show up on taskbar, it shows the default picture of itself. But when I choose "Console Based" there is no problem with that. Is there a way of dealing with this. Besides in both ways after creating .exe my icon doesn't show up on left top and when I alt+tab it shows the default icon again.

I also add .png's into labels, when I run it as .py on Visual Studio Code it shows the pictures that I've added but when I create .exe it doesn't show them aswell.

(https://i.stack.imgur.com/q8L2L.png) (https://i.stack.imgur.com/xFnKh.png)

(The .ico and .png's are in the same file with my .py file)

I tried each and every combination on auto-py-to-exe but couldn't find a solution also copied the code written in there and added some different codes I found online but non of them has worked.

I have checked the solution advices on other topics but they didn't work.

0

There are 0 best solutions below