Re: App.Path and networks?
Quote:
Originally posted by TomJones
Hello,
I was hoping that a application which reads files using App.Path (i.e. files are stored relative to .exe) would work over a network but apparently not.
Apparently it works OK on the server (as expected) but when a client machine runs the .exe (and it's just running the .exe on the server whcih has been shared), it cannot access the files. I cant check this myself but presumably something is going wrong with App.Path when used over a network? But the .exe being run on the client is located on the server so cant see why App.Path would change!
Am I overlooking something or is it a case of something being wrong with App.Path on a network?
Thanks
Can you give us an example of what it returns? My guess is the UNC, in which case you'll need to ensure that the proper permissions are on the network share.