Same app as my FileBrowserButton question of a few days ago (no takers on that one yet??). I’ve got the thing pretty much running as I want now, but noticed that the buttons were flat and had no colour to them when hovering the mouse over them when run as an .exe generated by py2exe. The buttons look a lot nicer when run as a normal Python script.
Checking the console when running as an .exe, I see a message: “Debug: src/helpers.cpp(140): ‘CreateActCtx’ failed with error 0x0000007b (the filename, directory name, or volume label syntax is incorrect.).” Digging around, a message from 2009 (http://markmail.org/message/mkdoapnet3evctz4) suggests this is due to not finding the themed common controls DLL, so it’s falling back to the standard one. I’m running on Win 7. All of the Windows dlls are in c:\windows\system32 apart from MSVCP90.dll which I reference in the setup.py for py2exe. Do I need to do something else to pick up the nice buttons?
I don’t know what that error is, and I’m not sure about it running on Win7, but the flat button problem with py2exe has historically been one of not using the “XP manifest”. See here:
Same app as my FileBrowserButton question of a few days ago (no takers on that one yet??). I’ve got the thing pretty much running as I want now, but noticed that the buttons were flat and had no colour to them when hovering the mouse over them when run as an .exe generated by py2exe. The buttons look a lot nicer when run as a normal Python script.
Checking the console when running as an .exe, I see a message: “Debug: src/helpers.cpp(140): ‘CreateActCtx’ failed with error 0x0000007b (the filename, directory name, or volume label syntax is incorrect.).” Digging around, a message from 2009 (http://markmail.org/message/mkdoapnet3evctz4) suggests this is due to not finding the themed common controls DLL, so it’s falling back to the standard one. I’m running on Win 7. All of the Windows dlls are in c:\windows\system32 apart from MSVCP90.dll which I reference in the setup.py for py2exe. Do I need to do something else to pick up the nice buttons?
Thanks, Steve.
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
Thanks - that looks promising… I did google around but didn’t find that myself. I’ll try it out tomorrow.
···
On Monday, 9 December 2013 18:46:59 UTC, Che M wrote:
I don’t know what that error is, and I’m not sure about it running on Win7, but the flat button problem with py2exe has historically been one of not using the “XP manifest”. See here:
On Mon, Dec 9, 2013 at 11:50 AM, raichea rai...@gmail.com wrote:
Same app as my FileBrowserButton question of a few days ago (no takers on that one yet??). I’ve got the thing pretty much running as I want now, but noticed that the buttons were flat and had no colour to them when hovering the mouse over them when run as an .exe generated by py2exe. The buttons look a lot nicer when run as a normal Python script.
Checking the console when running as an .exe, I see a message: “Debug: src/helpers.cpp(140): ‘CreateActCtx’ failed with error 0x0000007b (the filename, directory name, or volume label syntax is incorrect.).” Digging around, a message from 2009 (http://markmail.org/message/mkdoapnet3evctz4) suggests this is due to not finding the themed common controls DLL, so it’s falling back to the standard one. I’m running on Win 7. All of the Windows dlls are in c:\windows\system32 apart from MSVCP90.dll which I reference in the setup.py for py2exe. Do I need to do something else to pick up the nice buttons?
Thanks, Steve.
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
Same app as my FileBrowserButton question of a few days ago (no takers on that one yet??). I've got the thing pretty much running as I want now, but noticed that the buttons were flat and had no colour to them when hovering the mouse over them when run as an .exe generated by py2exe. The buttons look a lot nicer when run as a normal Python script.
Checking the console when running as an .exe, I see a message: "Debug: src/helpers.cpp(140): 'CreateActCtx' failed with error 0x0000007b (the filename, directory name, or volume label syntax is incorrect.)." Digging around, a message from 2009 (http://markmail.org/message/mkdoapnet3evctz4) suggests this is due to not finding the themed common controls DLL, so it's falling back to the standard one. I'm running on Win 7. All of the Windows dlls are in c:\windows\system32 apart from MSVCP90.dll which I reference in the setup.py for py2exe. Do I need to do something else to pick up the nice buttons?
Thanks to Che and Werner… that resolved my problem with the button appearance. I, too, got the 2.6 version working fine. No problems as far as I can see niki…
Steve.
···
On Tuesday, 10 December 2013 09:12:38 UTC, werner wrote:
Hi Steve,
On 09/12/2013 17:50, raichea wrote:
Same app as my FileBrowserButton question of a few days ago (no takers
on that one yet??). I’ve got the thing pretty much running as I want
now, but noticed that the buttons were flat and had no colour to them
when hovering the mouse over them when run as an .exe generated by
py2exe. The buttons look a lot nicer when run as a normal Python script.
Checking the console when running as an .exe, I see a message: “Debug:
src/helpers.cpp(140): ‘CreateActCtx’ failed with error 0x0000007b (the
filename, directory name, or volume label syntax is incorrect.).”
Digging around, a message from 2009
(http://markmail.org/message/mkdoapnet3evctz4) suggests this is due to
not finding the themed common controls DLL, so it’s falling back to
the standard one. I’m running on Win 7. All of the Windows dlls are in
c:\windows\system32 apart from MSVCP90.dll which I reference in the
setup.py for py2exe. Do I need to do something else to pick up the
nice buttons?