Application.MakeAbs Method

Returns a String that represents an absolute URL for the String specified in the URL parameter, using the URLBase parameter as the starting point.

Syntax

expression.MakeAbs(UrlBase, Url)

expression   A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
UrlBaseRequiredVariantA base URL. Can be a String or a Web, WebFolder, WebFile, NavigationNode, or DesignerDocument object.
UrlRequiredStringThe entire URL for the Web site. This can be any URL for a Web site, such as "http://web_server/folder" or "file://file_system/folder" for disk-based Web sites.

Return Value
String

Remarks

If the URL is already absolute, the URL is returned unchanged. For more information about absolute and relative URLs, refer to Understanding Absolute and Relative Addresses.




Community Additions

ADD
Show: