This is definitely supported, and is pretty straightforward if you're using
the Visual Studio IDE.
Here's an overview
1. Create a VB class library project.
2. Add a new item using the "Com class" template.
3. Compile your project.
What this does is create the class, apply a comclass attribute, set the
correct GUID's for com interop, creates a VB6 class which wraps the VB.Net
class, registers the vb6 class.
Here's some docs you can look up:
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconmarshalingdatawithcominterop.asp
Did this give you the info you needed?
--------------------
Date: Mon, 21 Mar 2005 17:02:06 +0100
From: Peter Plumber <Kl******@gmxdot.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6)
Gecko/20040113X-Accept-Language: en-us, en
MIME-Version: 1.0
Subject: dotNet dlls in VB6?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <#X**************@TK2MSFTNGP12.phx.gbl>
Newsgroups:
microsoft.public.vb.general.discussion,microsoft.p ublic.dotnet.languages.vb,
microsoft.public.dotnet.languages.csharpNNTP-Posting-Host: 83-64-137-178.work.xdsl-line.inode.at 83.64.137.178
Lines: 1
Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGP08.phx.gbl!TK2MSFTNGP1
2.phx.gblXref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.languages.vb:266599
microsoft.public.dotnet.languages.csharp:314725
microsoft.public.vb.general.discussion:542781X-Tomcat-NG: microsoft.public.dotnet.languages.vb
OK, this is a rather strange request
Is it possible to use dot-net dlls in VB6 projects?
Is anyone doing this or is this completely useless?
thx
Peter