Link to home
Create AccountLog in
Avatar of firstit
firstit

asked on

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
SOLUTION
Avatar of Pieter Jordaan
Pieter Jordaan
Flag of South Africa image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of firstit
firstit

ASKER

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

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

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

ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.

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.
No points ?

I wont help you again.
Avatar of Nasir Razzaq
@BitFreeze
You are getting the points mate. Read the notice.
Avatar of firstit

ASKER

I found the solution