Getting started

Using NetWorx

NetWorx settings

Extra stuff

Return to the product page

NetWorx Automation

Some features of NetWorx are accessible via automation, also known as OLE automation. You can manipulate the Speed Meter component using any programming language supporting this technology, including Windows Script Host.

There are several methods that can be called to control the Speed Meter.


Prototype Description
HRESULT _stdcall Start(void) Brings up the Speed Meter and starts recording data.
HRESULT _stdcall Stop(void) Stops recording data.
HRESULT _stdcall SaveToFile([in] BSTR FileName) Saves the displayed result to a file.
HRESULT _stdcall Text([out, retval] BSTR * Value) Returns the displayed result as a string.
HRESULT _stdcall Reset(void) Resets the Speed Meter.

Example.vbs: All the methods called from a VB script.

Note: If you are using the portable build, this functionality is not available because NetWorx has to be registered as an automation server during installation.

© 2000–2012 SoftPerfect Research | Contact us | Terms of use | Privacy policy