[RESOLVED] Manifest file for XP buttons not working with executable
I am using Windows XP style buttons for my applciation, which requires a manifest file. Using a VB6.EXE.manifest file in my VB folder makes running the application from the code give my application an XP style look.
However, when I compile and try to run my application from an executable, I get a "run-time Error 7 Out of memory." Do you know what changes I would have to make to the manifest file to get this to work? My executable has a depency on a dll, though I'm not sure this should make any difference at all. My application runs fine from the executable (though without XP style buttons) without the manifest file in the application folder.
Re: Manifest file for XP buttons not working with executable
Its best to call it even earlier then form_initialize as the dform is already being created with initialize. Place the call in a module Sub Main. Then call your form from there after.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Re: Manifest file for XP buttons not working with executable
check your MANIFEST file size..!?!
It must be dividable by 4
**Add spaces to tweak file size..
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.
Re: Manifest file for XP buttons not working with executable
Originally Posted by randem
Problem: the VB6.exe.manifext file will only work in the IDE. You need to have a manifest file for your exe for it to work in your exe.
Yes, I am aware of this. Sorry, I guess my post was worded funny. I will test out what the others suggested later in the day, I have a feeling that this whole problem may be coming from my command buttons. Thanks
Re: Manifest file for XP buttons not working with executable
Originally Posted by RobDog888
Its best to call it even earlier then form_initialize as the dform is already being created with initialize. Place the call in a module Sub Main. Then call your form from there after.