Originally Posted by X7JAY7X
Yes I am trying to use my activex dll (from vb6) in vb.net. I referenced the dll by going Project -> Add Refernce -> COM tab -> then I browsed to the dll.
I am not getting a error in .net, but in vb6. I am trying to pass data out of the dll into .net but vb6 gives me a compatibility error. It says that the current function is of type Variant and I am trying to make it type Integer. It wants me to rewrite the code to make it binary compatible.
Does this help? Do you want a copy of the code or a screenshot?
Thanks
J