use c# class as com object
i created a class library and add a class .
then i created a type library with tblexp and i registered the dll using regasm.
now i want to use that class from vb6, so i opened a new project, add a reference to the type library i created and wrote-
dim x as nameSpace.ClassName
but i cant get to the methods in the class.
what am i missing?
thanks in advanced.
[384 byte] By [
ppl1] at [2007-12-16]
Hi,
There is nothing wrong in what you have done. Its just the intellisense which is not working,. Just type the method and parameters even if they dont dropdown and run the application, it should work.
For a more step-by-step guidance read this:
http://builder.com.com/5100-6387_14-1045146.html
Regards,
Vikram