- Chris Baldone
- PowerBuilder
- Friday, 8 March 2019 05:19 PM UTC
This has been an issue since PB 11.5 when we included an OCX into our application. It was there in version 12.6 and still an issue in 2017.
OLE
From there, I select the 'Insert Control' tab, click the 'Register New' button and find the OCX. It registers and I can select it from the list and add to the page. I can then use the OCX like I want.
The problem is when I have to make any code change to the window that the OCX control is on. When I do so, the control is no longer valid. The application crashes b/c it does not recognize any of the OCX's methods.
In the past, when I made a change, I would have to go thru the step and add the OCX a second time, copy all the code behind to the new OCX control. This would fix the issue.
Today, I have a screen that works. I can go into any code behind and add a comment line, save and build. It fails b/c the OCX is invalid now.
Is there anything I can do to fix this problem?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.