LongFileNames property

LongFileNames property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Specifies whether Save as Web Page can use long names when saving files.

        
          retLong = object.LongFileNames
object. LongFileNames = valLong

retLong

Long. Non-zero (True) indicates that Save As Web Page can use long file names; otherwise zero (False). The default is True.

object

Required. An expression that returns a VisPageWebSettings object.

valLong

Required Long. Non-zero (True) to enable Save As Web Page to use long file names; otherwise, zero (False).

Remarks

If the LongFileNames property is True, Save as Web Page uses long file names, which are typically more recognizable and easier to work with. If the operating system does not allow long names, the LongFileNames property returns an error.

If the LongFileNames property is False, supporting files have only the first character of the root .htm file as part of their name and can be difficult to identify if stored as flat files.

For information about storing files, see the StoreInFolder property.

This value corresponds to the Use long file names whenever possible check box on the Files tab of the Save As Web Page dialog box (on the File menu, click Save As Web Page, and then click Publish).