COM Object (dll) Error

P

phillzilla

Hello,

I created a new class (dll) using VB6.0 and placed it in the "C:
\Program Files\Common Files\xxx" folder. I then added a reference to
the dll in my access data project(adp). I reference the new class in
the vba code for a form that uses the class to insert rows into a sql
table, using a stored procedure. On the server I'm using for
development, I make the ade and am able to run the application without
error. So, I copied the ADE and dll to my virtual machine for testing.
I put the dll in the same folder as on my development server and
manually registered the dll using regsvr32 successfully. I then run
the ade and I am getting the following message:

"project contains a missing or broken reference to the file" ...
my.dll. If I click ok, I am able to proceed and low and behold, my
custom form within the dll still works, without problems. However,
everytime I start Access with the ade, I get the error message. Is
there something I'm missing?

Thanks, Phillip
 

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

Top