COM dll in VB6

  • Thread starter Thread starter Andry
  • Start date Start date
A

Andry

I want to use a dotnet dll in VB6 . This gives error.Page fault in VBA6.dll,
and says that the it has
performed an illegal operation.
How can I fix this??
 
Hi Andry,

Ensure you have correctly exposed your .NET assembly to COM by using
appropriate attributes and that the assembly has been registered for COM
interop.

Also ensure you have installed the latest service packs for Visual Studio or
at least for VB runtime.
I remember I have seen in some book the lack of service packs can cause
problems.
 
Back
Top