I am having a problem trying to instantiate a VB6 COM+ component from a
VB.NET dll. I have already converted the COM+ type definitions into
equivalent common language runtime assembly definitions using tlbimp.exe.
When I reference the newly generated VB6 dll from C# I see 2 interfaces and
the class listed (i.e. _clsdoWork, clsdoWork & clsdoWorkClass). But when I
do the same exact reference from within VB.NET I only see the interface
clsdoWork but no class definition.

C# code
doWork.clsdoWork objDoWork = null;
objDoWork = new doWork.clsdoWorkClass();

VB.NET
Dim objdoWork As doWork.clsdoWork
objdoWork = New ?????????????????

Any help with this would be greatly appreciated.






_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to