|
-
Mar 2nd, 2017, 04:58 PM
#11
Re: CommonControls (Replacement of the MS common controls)
 Originally Posted by labmany
Secondly, when I place one or more control from the following list:
CommandButtonW
TextBoxW
SpinBox
OptionButtonW
FrameW
CheckBoxW
on a form, create the EXE along with a .manifest file, compile and run the 'Project1.exe' and close it on my Development machine all is OK.
I copied the 'Project1.exe' and 'Project1.exe.manifest' to a new fresh Windows 7 Ultimate SP1 32bit (virtual Machine) and ran it I got the following message:
"Project1 has stopped working...
check online...
close the program..."
If I add another/extra control other than any of the above list the error does not show anymore!
The attached example is running OK on my development machine but it gives:
Runtime error '0' on the Virtual/Fresh Windows on start up (Project1.exe)
Also with the attached example, I selected and deleted all controls Except CommandButtonW control, compiled and ran on the Fresh Windows and it gave:
Runtime error '50003'
Unexpected error
Thanks for your report and thus help improving the project.
I did a first test and could resolve the problem when removing all properties (not whole control) from the form1.frm (via Notepad) when there is a reference to "form1.frx".
After that the Project1.exe works fine.
So, the problem is then that something goes corrupt on form1.frx at a certain point. However, I was not yet able to isolate the cause and when it happens.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|