TLowder
Programmer
- Mar 20, 2002
- 224
Hello,
Not a big deal because its working now but I'm unsure as to why my solution was needed and why it worked. My program started crashing in the IDE when a particular form loaded (exe worked fine). As far as I know this started for no reason. I tested on two computers with the same results. After spending hours on this problem I decided to delete all instances of a control IsButton from a frame on the form and then it loaded fine. When readding the control in the frame it crashed again. After more testing I found I could leave the exact same IsButtons in the frame that were causing the crash still there and add a new IsButton directly on the form and then it worked fine. So now the new one is still there but just invisible. This button is in many of my forms on frames and they all work fine. When I first added this control it worked fine for as far as I know for about 6+ months. The IsButton.ocx is a user control I made into an OCX. Strange its always worked fine before and why would adding one directly to the form fix the crash.
Just wondering if anyone has any thoughts.
BTW the IsButton is pretty cool aside from this issue and can be found at planet source code.
Thanks,
Tom
Tom
Not a big deal because its working now but I'm unsure as to why my solution was needed and why it worked. My program started crashing in the IDE when a particular form loaded (exe worked fine). As far as I know this started for no reason. I tested on two computers with the same results. After spending hours on this problem I decided to delete all instances of a control IsButton from a frame on the form and then it loaded fine. When readding the control in the frame it crashed again. After more testing I found I could leave the exact same IsButtons in the frame that were causing the crash still there and add a new IsButton directly on the form and then it worked fine. So now the new one is still there but just invisible. This button is in many of my forms on frames and they all work fine. When I first added this control it worked fine for as far as I know for about 6+ months. The IsButton.ocx is a user control I made into an OCX. Strange its always worked fine before and why would adding one directly to the form fix the crash.
Just wondering if anyone has any thoughts.
BTW the IsButton is pretty cool aside from this issue and can be found at planet source code.
Thanks,
Tom
Tom