USB Analyzer ActiveX Control Redistribution

To redistribute USB Analyzer ActiveX Control within your application, copy UsbAnalyzerAx.dll file into your target folder and in that folder execute the following command:

regsvr32 /s /i UsbAnalyzerAx.dll

Alternatively, you can specify the full path to UsbAnalyzerAx.dll library:

regsvr32 /s /i "Disk:\full\path\to\UsbAnalyzerAx.dll"

Now you can call methods and properties of USB Analyzer ActiveX Control directly from your application.

For Windows Vista:
To be able to monitor USB devices, your application has to be run in “Admin Approval Mode” (Run as Administrator).

To make your application automatically try to switch to “Admin Approval Mode”, it has to contain a special manifest either inside of its file or in the same directory. The manifest file should have the same name as the target.exe with a .manifest extension.

Please, check the samples that go with USB Analyzer ActiveX Control for appropriate manifests. Please, note: embedded manifest has a higher priority than the external one.

Please, find the details on MSDN page.

Note:

  • All USB Analyzer ActiveX Control versions should be uninstalled on your end-users’ machines where your end-product with integrated USB Analyzer ActiveX Control technology will be installed.
  • Monitoring of USB 3.0 devices requires system restart, while all other USB devices can be monitored right after your end-product with integrated USB Analyzer ActiveX Control is installed on your end-users’ machines.


To uninstall
, execute regsvr32 with “/u” key:

regsvr32 /s /i /u UsbAnalyzer.dll

After uninstallation you can safely remove UsbAnalyzerAx.dll file. To complete ActiveX component removal, reboot the system.