This is a strange one and I hope someone has seen this before and can help....
In my app I open a file via \MyLocalPc\MyFolder\MyFile.dbf
This works on almost every computer I have installed my app on.
Here is the strange part.... One customer can open the file when they are connected to a network but not when they have no network connection.
Just to be clear, this file is local. My app is not trying to access any networked files on this system.
I can reproduce this on one of my laptops if I disable the network adapter.
Stranger still .....
If I type in the \MyLocalPC in explorer it will show me all the "shares". One of which is the folder where MyFile.dbf is located.
If I double click on MyFolder I get the typical windows network error.
Now, I enable the network adapter, go into the MyFolder and all is well.
I disable the network adapter again, while in the MyFolder and everything works.
If I change my code to open "C:\MyFolder\MyFile.dbf" everything works regardless of the network adapter being enabled or disabled (as would be expected).
I do have a reason for using the UNC type connection so switching to C:... is not an option.
Has anyone had this issue before ?
Any suggestions ?
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)