Home All Groups Group Topic Archive Search About
Author
29 Jun 2005 9:19 PM
Bryan Dickerson
I have a Class Library that I have exposed as a COM component for use in a
VB6 program.  In the VB6 references, the pointer is to a TLB file.  Should
this be the file that I deploy to a user's machine?  Does it need to be
registered as a normal COM DLL?  It's not ready for prime-time, yet, so I've
put some code in there to make sure that I'm the only one that runs the new
code.

--
TFWBWY...A

Author
29 Jun 2005 9:46 PM
Ken Tucker [MVP]
Hi,

        Use regasm to register the dll for use with vb6.  Also make sure the
classes in the dll are marked comvisible.

Com visible
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemruntimeinteropservicescomvisibleattributeclasstopic.asp

Regasm
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfassemblyregistrationtoolregasmexe.asp

Ken
----------------
"Bryan Dickerson" <txprp***@netscape.net> wrote in message
news:uRux9APfFHA.2840@tk2msftngp13.phx.gbl...
I have a Class Library that I have exposed as a COM component for use in a
VB6 program.  In the VB6 references, the pointer is to a TLB file.  Should
this be the file that I deploy to a user's machine?  Does it need to be
registered as a normal COM DLL?  It's not ready for prime-time, yet, so I've
put some code in there to make sure that I'm the only one that runs the new
code.

--
TFWBWY...A