• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Working with Files

Every file in a FrontPage-based web site can be represented using a WebFile object. There are two methods programmers can use to obtain WebFile objects for files in their web.

One method is to use the LocateFile method of the Application and Web objects. LocateFile takes one argument, FileURL, which is a string specifying an absolute or relative URL to a file in the FrontPage web. LocateFile returns a WebFile object that can then be used to modify the file it represents. The following code sample uses the LocateFile method to open the home page of the web site at c:\my webs\mynewweb.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint