Using components

  • Thread starter Thread starter Jim Householder
  • Start date Start date
J

Jim Householder

What do I need to do to be able to use a component I have written in Visual
Basic .NET in Access 2003? I have a .dll but when I reference it, it tells
me that it cannot be used in Access 2003.

Jim Householder
 
DLL mabe in VB.NET is .NET DLL, not COM (ActiveX) DLL, which is Access
Application based on. You cannot directly use .NET DLL in COM Apps. You need
to use Regasm tool in .NET framework to generate a COM interface of the .NET
DLL. Then you can use it as if it is COM dll. However, since it is not real
COM component, the .NET framework installation is required.
 

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