PC Review


Reply
Thread Tools Rate Thread

COM Object (dll) Error

 
 
phillzilla@gmail.com
Guest
Posts: n/a
 
      31st May 2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deserialization - Can see object properties in Visual Studiointellisense but receive object refernce not set error. YZ Microsoft C# .NET 0 27th Jun 2011 09:19 AM
Error code 4312: The object identifier does not represent a valid object Nicolas Caron Microsoft Windows 2000 Fax 1 19th Dec 2004 08:35 AM
Error:operation failed. Erro:Object reference not set to an instance of an object. Raji Microsoft Dot NET 0 3rd Jun 2004 09:03 PM
Error number 429 - COM object with CLSID...usin the word.global object =?Utf-8?B?bnljZXJzX2RldmVsb3Blcg==?= Microsoft VB .NET 0 18th May 2004 06:41 PM
session variable giving 'Object reference not set to an instance of an object' error JC Microsoft C# .NET 1 11th Sep 2003 02:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:24 PM.