I don't know the actual source code to use right off hand (too lazy to try
it out :-) However, check out the HttpWebRequest class. I've seen this
class used in other examples to test for the existence of a web page given a
URL to test (e.g.
http://www.mydomain.com/somefile.html).
--
Thanks, Jeff
"Jane" <(E-Mail Removed)> wrote in message
news:019f01c3cf07$5c8e82b0$(E-Mail Removed)...
> Hello,
>
> I am developing a windows service application that checks
> if a particular web page is on the web server. I found
> there is a method called File.exists(path) to check it,
> but how can I get absolute path of a web page in a windows
> application rather than a web application? In a web
> application, we can use Server.MapPath(mypath) to get
> absolute path.
>
> Thanks in advance.
>
> Jane