This sample demonstrate how to use the NetShow Unicast Trace View ActiveX control in a HTML page.
First you must embed the control in your HTML page using the OBJECT tags with the CLASSID attribute set to "CLSID::24DCD5F2-6DBB-11D1-BEF5-00805FBE84A6".
Next you must connect the control to the server you wish to monitor. You can connect the TraceView control to a different server by supplying the name of the server in the Server: text field below.
The following command buttons, when clicked, call the SetServer, ClearTrace, PauseTrace, TraceProperties methods of the control, respectively.
The Trace state status:text field is used to trap the OnTraceStateChange event.
To view the source of this sample, right click the mouse and then select View Source.