We are using a DLL which opens a small window fpr processing.
This DLL works fine in VB 6.0
When wqe use this DLL in VB.NEt, it throws the error as follows:

"An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in EXE"
"Additional information: Non-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page."

Re: VB.NET Error with DLL by hirf-spam-me-here

hirf-spam-me-here
Fri Jul 16 08:25:43 CDT 2004

* "=?Utf-8?B?U2VzaGFkcmk=?=" <Seshadri@discussions.microsoft.com> scripsit:
> We are using a DLL which opens a small window fpr processing.
> This DLL works fine in VB 6.0
> When wqe use this DLL in VB.NEt, it throws the error as follows:
>
> "An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in EXE"
> "Additional information: Non-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page."

Like the error message is telling, that's not possible...

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>