I wrote a dll on vb.net that calls a web service, uses the returned data and passes the results to the calling program. I originally wrote in VS 2008, on Windows 7 (x64). I tested it in vb 6, also written on windows 7, and it worked. The vb6 program got the data, and I could move on.
The real world for me, however, is to use this dll inside another dll written in vb 6. When I get the code, I get the error "ActiveX component cannot create object"
Dim myWebService as webService.ComClass1
Set myWebService = New webService.ComClass1
I recompiled my code on windowsXP (x86) and rewrote it over .dll and .tlb.
When I try to register a dll, I get an error: "DllRegisterServer entry point not found." It seems that .tlb is well registered in VB, if you add a link to it, and Intellesense also works.
Anyone have any ideas what I need to do for this to work?
source
share