LocationURL Property (ALog)

Returns or sets the URL of the file that is displayed.

Syntax

Object.LocationURL = [ sLocationURL ]

The LocationURL property syntax has the following parts:

 

Name

Type

Description

Object

ALog

ALog control

sLocationURL

BString

The URL , UNC or PIDL of the file that is displayed, see comments for more information.

Comments

The location URL is specified in "protocol://server/page" format. It can be used to specify file or a folder located on your local or network drive or on the internet. Supported protocols are the same as the current Microsoft Internet Explorer.

Setting the ALog LocationURL property may be a lengthy operation. If this is called within a form or a control event, it is advised to call DoEvents() to process additional events occurred as result of calling this property before calling additional ALog properties or methods.

Example

The following statement retrieves the URL and path of the resource the control is currently displaying:

log1.LocationUrl="http://www.MarvinTest.com/ATEasy/"
log2.LocationUrl="file://c:/temp/a.log"

log3.LocationUrl="c:\\temp\\a.log"
DoEvents() ! call this if this code reside inside a control/form events
log3.FixedFont.Size=12

Applies to

Navigate, ALog, DoEvents