Hello All,
Does anybody know how to reference a VB6 project to a VB.NET DLL.
Kind regards,
JJ
Terry - 10 Mar 2008 13:44 GMT
Is the Vb.net dll your project? If it is, then look up "Com Interop" in help
or search this group. If not, did the author design it for com interop? If
so, then you just need to register it. If not, then I think you are out of
luck.

Signature
Terry
> Hello All,
>
[quoted text clipped - 3 lines]
>
> JJ
Spam Catcher - 10 Mar 2008 14:07 GMT
JJ <jjzwaard@hotmail.com> wrote in news:e4813aa0-0880-4840-975b-
fd518ed1b0f9@e60g2000hsh.googlegroups.com:
> Hello All,
>
> Does anybody know how to reference a VB6 project to a VB.NET DLL.
You like to use a VB6 DLL in .NET?
or
You like to use a .NET DLL in VB6?

Signature
spamhoneypot@rogers.com (Do not e-mail)
Michel Posseth [MCP] - 10 Mar 2008 19:03 GMT
Hello JJ
Implement a COM interface in the VB.Net dll , register the dll on the
target system ( with a installer or Regasm NO NOT with regsvr32.exe :-) ) ,
and you can rerence it as anny other COM component from VB6
Look here for some interseting info :
http://msdn2.microsoft.com/en-us/vbrun/ms788241.aspx
small example i once wrote for this group
http://groups.google.com/group/microsoft.public.dotnet.languages.vb/browse_threa
d/thread/b9974554b8d68a52/ca996d74d250974e?lnk=st&q=michel+posseth+COM+VB.Net&rn
um=28#ca996d74d250974e
HTH
Michel
> Hello All,
>
[quoted text clipped - 3 lines]
>
> JJ