I have Win98SE and WinXPPro computers on a LAN running a DOS Foxpro 2.5 program. The program opens DBFs via a subprogram with:
USE &PFILE ALIAS &MALIAS SHARED
I'm having trouble with my XP computers only. They "sometimes" fail to execute the line, giving me an error 15 - "Not a database file". The file exists, is not corrupt, and can be opened with the 98 computers.
I've put a pause and retry loop in my Error Trapping program. "Sometimes" after a 10 second pause, the retry will execute the line correctly, but "sometimes" 6 retrys will all result in failure.
The file that fails to open is usually the same file. Its an often used file, but not one that is ever opened exclusively by other computers.
I don't understand why XPPro "sometimes" can't recognize and open the file that 98SE never has trouble with. I say "sometimes", because this is a random problem that I can't intentionally recreate or duplicate. I'd estimate that it happens maybe 1 out of 20 times the file opening is attempted.
I do have more that 10 computers on my LAN, but all database files are stored on a Win98 computer.
Any ideas?
USE &PFILE ALIAS &MALIAS SHARED
I'm having trouble with my XP computers only. They "sometimes" fail to execute the line, giving me an error 15 - "Not a database file". The file exists, is not corrupt, and can be opened with the 98 computers.
I've put a pause and retry loop in my Error Trapping program. "Sometimes" after a 10 second pause, the retry will execute the line correctly, but "sometimes" 6 retrys will all result in failure.
The file that fails to open is usually the same file. Its an often used file, but not one that is ever opened exclusively by other computers.
I don't understand why XPPro "sometimes" can't recognize and open the file that 98SE never has trouble with. I say "sometimes", because this is a random problem that I can't intentionally recreate or duplicate. I'd estimate that it happens maybe 1 out of 20 times the file opening is attempted.
I do have more that 10 computers on my LAN, but all database files are stored on a Win98 computer.
Any ideas?