PC Review


Reply
Thread Tools Rate Thread

"Cannot load type library for ..."

 
 
Tom Edelbrok
Guest
Posts: n/a
 
      4th Apr 2005
I have various VB.NET projects that include a reference to a COM object
called CMI.DLL. This COM object is something I've created myself in VB6 as
an ActiveX DLL project. Everything works fine in all projects ... I can
access CMI.DLL by making calls to it, and it returns the desired data to me
in response to my calls from VB.NET.

However, every once in a while (ie: once a week) VB.NET gives me messages
saying that the type library can't be loaded for CMI.DLL. To solve the
problem I've found that I can go to a DOS prompt and type "regsvr32
cmi.dll". This seems to fix it, because then VB.NET is satisfied when I add
the COM reference to CMI.DLL.

Given that I've made no changes to CMI.DLL (therefore it's GUID should not
have changed) I should not have to re-add the reference to it into my VB.NET
project.

What could be the problem here? I have a band-age solution, but prefer to
have things working properly.

Thanks in advance,

Tom


 
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
Can not load library "LXBBPRP.DLL". Using defaults. Error: 126 jswalt Microsoft Outlook BCM 0 24th Sep 2009 02:57 PM
outlook 97 "Cannot load library LXBCPRP.DLL default used." error . =?Utf-8?B?SlhQ?= Microsoft Outlook 1 11th Oct 2007 07:05 PM
"cant load smartui - utilities library (code 5) access is denied" VelaLatina Windows XP Video 2 27th Apr 2006 12:20 AM
Load Library Failed "cannot find Msjava.dll module" =?Utf-8?B?SnR1cmlzbW8=?= Windows XP Help 1 20th Aug 2005 04:33 AM
"COM Interop registration failed. Could not find a type library for assembly 'Microsoft.VisualBasic'." =?Utf-8?B?Sm9obg==?= Microsoft Dot NET Framework 0 25th May 2004 02:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:30 PM.