|<< back to sysax.com Product page|
The GetCompName method can be used to retrieve the name of the current computer that is being used.
Exhibit 15.5. IDL Definition of method to get computer name
HRESULT GetCompName ([out, retval] BSTR *b_compname);
Exhibit 15.6. Example usage of method to get computer name (VBScript)
Dim cval cval = app.GetCompName