Running an application from a network drive

  • Thread starter Thread starter bryan.crouse
  • Start date Start date
B

bryan.crouse

I am attempting to run an application that was developed in VB6.0,
which is located on a network drive, from a workstation with Window XP
service pack 2 installed. The folder that the .exe file is located in
has been mapped and is visible through Windows Explorer. My problem is
when I attempt to click on the application, I get an error message
saying "Run-time error '-2147467259 (80004005)': Could not lock file".

There are three stations that use this same executable with Windows
2000 installed that can run this file at the same time. Now that I am
trying to run a fourth machine with XP, I get a 'could not lock file
error'. I know this arrangement is unorthodox, but it makes managing
software upgrades on the network much easier and I want to avoid
installing the application on each computer if I can avoid it.

Is there some was to set XP to handle the application .exe in the same
way as Windows 2000?

Thanks,
Bryan C.
 
You could try running the application in compatibility mode. Right click the
shortcut and pick the compatibility tab. The options are pretty obvious once
you're on the tab.
 
Tried running the compatibility wizard, but this failed due to OLE DB
errors. I have tried looking on the Microsoft website and I have
searched on Google but I haven't found any posts that could help me
out. I think that I might have to move this executable to each of the
desktops the way Microsoft intended....
 
This issue was resolved. There was a problem with the user account
that I was logged in under when I was using the computer. When I
switched to the account that I expect the computer to be running under,
and not the administator account that I was using originally, the
application worked without any issues.

The problem was fixed, but I am unsatified with the answer, since I
still don't know what the root cause was. I was in an admin account, I
should of had full access to the computer. I suppose I could to a
comparison between user accounts.... Can anyone suggest a way to do
this?

Thanks for you help!
 
Back
Top