My application has tow form
- 1) Main Form
- 2) Dashboard Form
I used a qlickview ocx control on my "Dashboard Form" and i open my QVW files with this control and everything works fine....
But if my opened QVW document has encountered an error on reload time Or in other words my OCX control has encountered a problem, my application will be hang when i try to reopen the "Dashboard Form" and open a QVW file.
Steps:
- Open application
- Create an instance of the "Dashboard Form" and Show it
- Open a QVW document by the OCX control on the "Dashboard Form"
- Fire reload command
- Occurring error on reload time
- Close the "Dashboard Form"
- Create an instance of the "Dashboard Form" and Show it
- Try to open a QVW document (the previous document or another document) by the OCX control on the "Dashboard Form"
- Application Hang
I'm confused about how the prior problem is live yet when i close the dashboard form and it cause new bigger problem when i reuse the ocx control.