H
Hugh McLaughlin
Hello Everyone and thanks for your help in advance. I am
working on an application that uses as helper class to
determine if an image file exists. If the file exists,
the path to the image is returned. Otherwise, a "Picture
not found" path is returned. I have that part workin
well. However, I have developed this on a local machine
and want to push the class to my prosuction server.
However, the paths change from machine to machine. I
want to be able to find the fully qualified path to a
particular file or directory. I tried File.GetFullPath
(myFilename), but that returns C:\WINDOWS\system32
\myFilename which is not where the file resides. I want
to make this as dynamic as possible. Any help would be
greatly appreciated. Thanks.
working on an application that uses as helper class to
determine if an image file exists. If the file exists,
the path to the image is returned. Otherwise, a "Picture
not found" path is returned. I have that part workin
well. However, I have developed this on a local machine
and want to push the class to my prosuction server.
However, the paths change from machine to machine. I
want to be able to find the fully qualified path to a
particular file or directory. I tried File.GetFullPath
(myFilename), but that returns C:\WINDOWS\system32
\myFilename which is not where the file resides. I want
to make this as dynamic as possible. Any help would be
greatly appreciated. Thanks.