Hurricane766
IS-IT--Management
Hi,
I've written an OCX drawing control in VB6 and have added it to my program. The compiled program runs perfectly on my computer (same computer I did the OCX development on). When I run the program on another computer everything is fine until I try to open the MDI window with the OCX on it. This is when I get the MSWindows error box saying it had to close my program and asks if I want to send an error message to Microsoft.
I don't think that the MDI window or the OCX are even executing any code because the window isn't open when the program crashes and adding in message boxes to the open event of the window seems to confirm this.
I've tried installing the VB6 runtime dlls; as well as, un/re - registering the OCX drawing control. Nothing seems to help. Maybe there are some settings in my VB6 project that aren't right?
If you have any ideas or help please respond - it's frustrating!
Thanks
I've written an OCX drawing control in VB6 and have added it to my program. The compiled program runs perfectly on my computer (same computer I did the OCX development on). When I run the program on another computer everything is fine until I try to open the MDI window with the OCX on it. This is when I get the MSWindows error box saying it had to close my program and asks if I want to send an error message to Microsoft.
I don't think that the MDI window or the OCX are even executing any code because the window isn't open when the program crashes and adding in message boxes to the open event of the window seems to confirm this.
I've tried installing the VB6 runtime dlls; as well as, un/re - registering the OCX drawing control. Nothing seems to help. Maybe there are some settings in my VB6 project that aren't right?
If you have any ideas or help please respond - it's frustrating!
Thanks