- INDEX VB TO NET
- KNOWLEDGE BASE
- EWIS-WARNINGS
- WARNING #7009
WARNING #7009
Multiples invocations to ShowDialog in Forms with ActiveX Controls might throw runtime exceptions
Description
This warning is not a compilation error, but a may cause a run-time 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 run-time exceptions are thrown when calling the ShowDialog method repeatedly.