Hi,

I am trying to make a modalless form in VB6 that is compiled as an
ActiveX DLL. When i use VC6 to instance the activex DLL, my problem appears
that
"406 Non-modal forms cannot be displayed in this host application from an
ActiveX DLL, ActiveX control or Property Page."

I have my form in modalless style in VB6 and they should be instanced in VC.

Does anyone know how to get this to work ?

Many Thanks,

Xiao

Re: how to solve "Non-modal forms cannot be displayed in this host application" by Igor

Igor
Fri Aug 19 08:43:29 CDT 2005

arbidol <arbidol@tom.com> wrote:
> I am trying to make a modalless form in VB6 that is compiled as an
> ActiveX DLL. When i use VC6 to instance the activex DLL, my problem
> appears that
> "406 Non-modal forms cannot be displayed in this host application
> from an ActiveX DLL, ActiveX control or Property Page."

http://groups.google.com/group/microsoft.public.vc.activex.templatelib/browse_frm/thread/be40b93d38eab41a/db96ff37c4ad4aac
http://support.microsoft.com/kb/171978/EN-US/
http://support.microsoft.com/default.aspx?scid=kb;en-us;247791

--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925