- INDEX VB TO NET
- KNOWLEDGE BASE
- EWIS-ISSUES
- ISSUE #7008
WARNING #7009
Multiples invocations to ShowDialog in Forms with ActiveX Controls might throw runtime exceptions
Description
This EWI is not caused by a compilation error, but may cause a runtime exception. The objective of this warning is to advice you to verify that the application is not having runtime issues when the ShowDialog method is called constantly, on a form that contains .NET third-party components or controls used through COM Interop.
Recommendations
Test the runtime behavior of the form and make sure that no runtime exceptions are thrown when calling the ShowDialog method repeatedly.