|
-
Aug 15th, 2012, 01:21 PM
#1
Thread Starter
New Member
VB can not find registered dll?
My VB application can not find a registered dll? It is a COM dll developed by someone else.
I have a system that has a dll registered, and other programs use it just fine.
I'm developing a VB app in VB.net 2003 and it runs find on the dev machine that does not have the dll registered, but when I copy it over to the main system (with the registered dll), it gives the common error it can't locate the dll.
I also have a copy in the local directory with the .exe
I'm not sure what else to do, I did not make the dll and I do not have the source.
I tried re-registering the dll and it made no difference.
System.IO.FileNotFoundException: File or assembly name Interop.ETHERNETDETECTORGENLIBRARYLib, or one of its dependencies, was not found.
File name: "Interop.ETHERNETDETECTORGENLIBRARYLib"
any help would be great!
-
Aug 15th, 2012, 02:23 PM
#2
Re: VB can not find registered dll?
You need to copy over the interop file as well... the interop file acts as a wrapper between COM and .NET.
-tg
-
Aug 15th, 2012, 02:28 PM
#3
Re: VB can not find registered dll?
Well, a coupla things. Note that the error message does not say that it can't find the file specifically. It may be that it's a dependent file that's missing. And how do you actually reference the .dll within the program? As you say that it is not registered on the development machine that suggests that you have a local reference in play which cannot be reproduced on the main system.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|