Run-time error '406': Non-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page.
Posted on 2004-09-13
If this is the wrong Topic, pls inform me !
I have a Gupta-Program, in which I call a VB-Dll I've got from a friend
The Program looks like
COM Proxy Class: Advanced_Function
Set bOk = w_AdvancedFunction.Create( )
Set bOk = bOk AND w_AdvancedFunction.mFormShow( )
On FormShow I get the Error "Run-time error '406': Non-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page at line 5".
My friend told me the dll works fine when calling it from a Visual-Basic or a VC++ -Program.
Can anybody tell me, where this error comes from, and how can I change my Program ( or my friend can change his dll) so that it works ?
Thx in advance