Location of referenced file in Interop DLL

Hi
I have a Windows Service I wrote in VB.NET 2003 a few years ago, at the time it worked. It references a VB6 DLL using Interop Services that in turn references other DLL's. The .NET Service and a test application can enter the code of the DLL but the problem is I get a file not found error when I it try the enter the code of the DLL referenced inside that.
The problem is not with the VB6 DLL, we have another application Access application we have uses this DLL with out any problems.
How can I find the location of referenced file? It is located in System32

Thanks in advance
Martin
firstitAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
firstitConnect With a Mentor Author Commented:
Thanks for your help BitFreeze but we have found the problem
We had to install the application that the DLL was installed with, which must havbe installed the DLL to another location
0
 
Pieter JordaanConnect With a Mentor Senior Systems Administrator - Web hosting and Network Security.Commented:
Hi

If the referenced file does not have a full path, then you can look in the windows PATH folders, as windows will automatically search in there.

in command prompt, run

echo %path%

That will show you all folders where windows will search for files without paths.
You will have to search for it manually.

The file can also be in the application start up folder ie: program files\application name

I hope that helps.
0
 
firstitAuthor Commented:
Thanks but System32 is already in the path
I have tried copying the DLL that it can't find to all the places that the service or the other DLL run from
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Pieter JordaanSenior Systems Administrator - Web hosting and Network Security.Commented:

Perhaps the dll needs to be registered before it will run ?

http://ss64.com/nt/regsvr32.html

0
 
Pieter JordaanSenior Systems Administrator - Web hosting and Network Security.Commented:

The application just registers the dll. You can use the regsvr32 command to register it without installing the application, or add the dll registration to the setup of your new application.
0
 
Pieter JordaanSenior Systems Administrator - Web hosting and Network Security.Commented:
No points ?

I wont help you again.
0
 
CodeCruiserCommented:
@BitFreeze
You are getting the points mate. Read the notice.
0
 
firstitAuthor Commented:
I found the solution
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.