StartTrace

Used to start a BlueZone trace.  This command should be used in conjunction with StopTrace.

Parameters:

FileName - Name that you want to use for the trace file.  The trace file will be written to the BlueZone "Scripts" folder not the "Traces" folder.  Also, if you prefer, you can specify the full path location for the trace file.

Returns:

None

Remarks:

Used for troubleshooting purposes.  It's best to place StartScript before you make the connection to the host so that you capture all important events from the very beginning.

Example:

Set Host = CreateObject( "BZWhll.WhllObj" )

 

Host.StartTrace( "trace.txt" )

 

Retval = Host.Connect "A"

If ( Retval ) Then

   Host.MsgBox "Error connecting to session A!", 48

   EndSub

End If