March 22nd, 2011, 12:07 PM
[RESOLVED] ActiveX component can't create object
I wrote a dll in vb.net that calls a web service, consumes the data returned then passes results back to the calling program. I originally wrote in in VS 2008, on windows 7 (x64). Tested it in a vb 6 program also written on windows 7 and everything worked. The vb6 program got the data and I could move on.
The real world for me though is to use this dll inside another dll written in vb 6. I get the error "ActiveX component can't create object" when I get to the code
I've recompiled my code on windowsXP (x86) and recopied over the .dll and .tbl.
Dim myWebService as webService.ComClass1
Set myWebService = New webService.ComClass1
When I try to register the dll I get an error: 'DllRegisterServer entry point was not found'. The .tbl seems to register fine in VB as far as adding a reference to it and the intellesense works too.
Does anyone have any ideas what I need to do to get this working?
Tags for this Thread
Click Here to Expand Forum to Full Width