Changes the Application object to an absolute object rather than a relative object. For more information on absolute and relative URLs, refer to Understanding Absolute and Relative URL Addressing
expression.MakeAbs(UrlBase, Url)
expression An expression that returns a 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 for the web. This can be any URL for a web, such as http://web server/folder or file://file system/folder for disk-based webs.
This example changes a relative URL to an absolute URL.
Note To run this example, you must have a web and a file called "C:\My Documents\My Webs\Rogue Cellars\Zinfandel.htm" (for a server running on Microsoft Windows) or "C:\WINNT\Profiles\logon alias\Personal\My Webs\Rogue Cellars\Zinfandel.htm" (for a server running on Windows NT). In either case, you may substitute an alternative web URL or file.
Private Sub MakeURLAbsolute()
Dim myBaseURL As WebEx
Dim myAbsAddress As String
Dim myLocalUrl As String
myBaseURL = Webs.Open("C:\My Webs")
myLocalUrl = "Zinfandel.htm"
myAbsAddress = MakeAbs(myBaseURL, myLocalUrl)
End Sub