FileExists with UNC Path with a Service.
From: RL Tech (tech_support_at_nospamuls.com)
Date: 12/02/04
- Next message: Webbee: "Sending a picture to a paint program?"
- Previous message: Bob Butler: "Re: working with .txt files"
- Next in thread: Tony Proctor: "Re: FileExists with UNC Path with a Service."
- Reply: Tony Proctor: "Re: FileExists with UNC Path with a Service."
- Reply: Mike D Sutton: "Re: FileExists with UNC Path with a Service."
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 2 Dec 2004 11:29:11 -0700
Hi,
I have an app that is supposed to check a unc path for the existance of a
file...
ie: \\computer\\folder\file.xml
When i run the "fileexists" (numerous, on the net), and when run in the DEV
as well as compiled, works fine (returns true).
When i try and run the same program as a NT Service, i am told that the file
doesn't exist...
This is the Statement in the "FileExists" .
FileExists = (Dir$(FileName) <> "")
Pretty basic and it always works... except with UNC paths, on a service...
Does anyone have any clue to why this may be happening?
I did check the permissions, and added my computer (thinking that it was a
permissions/security issue to the folder, but no change there...)...
Thanks.
- Next message: Webbee: "Sending a picture to a paint program?"
- Previous message: Bob Butler: "Re: working with .txt files"
- Next in thread: Tony Proctor: "Re: FileExists with UNC Path with a Service."
- Reply: Tony Proctor: "Re: FileExists with UNC Path with a Service."
- Reply: Mike D Sutton: "Re: FileExists with UNC Path with a Service."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|