Deployment question

  • Thread starter Thread starter Bryan Dickerson
  • Start date Start date
B

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.
 
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/d...eropservicescomvisibleattributeclasstopic.asp

Regasm
http://msdn.microsoft.com/library/d...ml/cpgrfassemblyregistrationtoolregasmexe.asp

Ken
----------------
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top