Hello good people,
I really need your help on this one which drives me crazy...I searched the net a lot but couldn't find the answer that works for me. I have written a basic .dll in vb.net (VS2010) that consumes a web service. I followed everything according to
http://support.microsoft.com/kb/817248[
^]
I built the project with Register for COM Interop checked and com visible=true. I copied the .dll , the tlb file and .config file to the folder of the vb6 project - in the same development computer. I ran the vb6 project and got "automation error". I also tried to register it manually using regasm (in command prompt as administrator) but it didn't help. Few notes, maybe important:
1. I got a warning - Type library exporter encountered a type that derives from a generic class and is not marked as [ClassInterface(ClassInterfaceType.None)] etc...but again in the example above by microsoft they didn't use it and also when I did try to add it like this:
<comclass(comclass1.classid,> _
<classinterface(classinterfacetype.none)>
Public Class ComClass1
I got an error that both attributes can not be applied to the same class. Maybe I just don't write it well but I haven't seen any examples combining both. I assume that I also have to explicitly define an interface and so but this all subject is not clear to me, I would be happy to see an example.
2. during my trails I got also "error 429. ActiveX component can't create object" but now I don't succeed to reproduce it...
Sorry for the long question I am just trying to give you the whole picture...
Thanks a lot in advance, it is a lifesaver