MakeRel Method

See Also         Example         Applies To

Changes the Application object to a relative object rather than an absolute object. For more information on absolute and relative URLs, refer to Understanding Absolute and Relative URL Addressing

Syntax

expression.MakeRel(UrlBase, Url)

expression   An expression that returns an Application object.

UrlBase   Required Variant. A base URL. Can be one of the following, a string, or an object of type Web, WebFolder, WebFile, NavvigationNode, or IHTMLDocuemnt2.

Url   Required String. A string that contains the entire URL. This can be any URL for a web, such as http://web server/folder or file://file system/folder for disk-based webs.

Return Type

String