ActiveX DLL and modeless forms 
Author Message
 ActiveX DLL and modeless forms

I have written an ActiveX DLL in VB. It displays a form as modeless.
My colleague has written a VC++ client to use my DLL, but when he tries to
run it he gets the error:

Non-modal forms cannot be displayed in this host application from an
ActiveX DLL, ActiveX Control or Property Page.

It works OK if I change to modal, but we need to be able to do it modeless.

Anyone got an idea ?

Regards,



Fri, 08 Sep 2000 03:00:00 GMT  
 ActiveX DLL and modeless forms

The only way I know of to get this working is for the Visual C++ program to
license and use Microsoft VBA.  The VB documentation indicates that the
client application must have the "VBA Technology Logo" in order for this to
work.

Quote:

>I have written an ActiveX DLL in VB. It displays a form as modeless.
>My colleague has written a VC++ client to use my DLL, but when he tries to
>run it he gets the error:

>Non-modal forms cannot be displayed in this host application from an
>ActiveX DLL, ActiveX Control or Property Page.

>It works OK if I change to modal, but we need to be able to do it modeless.

>Anyone got an idea ?

>Regards,




Sat, 09 Sep 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Show modeless form in VB ActiveX DLL from C++ MFC DLL

2. Showing modeless form in VB ActiveX Dll

3. modeless form using form.Show() method in C#

4. Modeless dialog from ActiveX DLL

5. Tab keys in a modeless dialog part of an activex dll

6. Help with Visual Basic ActiveX DLL showing form within Visual C++ ATL app

7. Problem in registering MS Form 2.0 ActiveX control (fm20.dll)

8. MS Form 2.0 Form ActiveX Designer

9. Visual C++ and modeless forms in VB ActiveX DLL.

10. Modeless form in Async socket callback...

11. How to add ActiveX controls to a Activex DLL

 

 
Powered by phpBB® Forum Software