Hi,
I'm running LabVIEW 7.0 on a windows 2000 machine. I compiled some code written in VB to a dll and am using LabVIEW activeX functions to communicate with it. My VI has an automation open, a couple of activeX function calls, and a close reference.
When I open the VI and try to run it, I get two run time errors which say 'Could not find DRVUSBX' and 'Automation error'. To fix this, I right click on the reference control and under select ActiveX class -> Browse, I find my DLL and select it. When I run the VI again, it works fine. However, the problem is that the VI runs only when I perform this 'update' manually. If I close the VI and Labview and restart, the same error pops up again until I browse for the DLL and perform the update. This happens regardless of if I save the VI or not.
I was wondering if this is merely a path problem or if it is something much deeper. If it is a path problem, is there somewhere in LabVIEW where I can view dll search paths or something like that??
Thanks, and any help would be appreciated.
-Sid