1. Open the VS2008 or VS2010 command prompt (this example uses VS2008)
Copy the ocx file to d:\Program Files\Microsoft Visual Studio 9.0\VC
2. Register ActiveX controls
regsvr32 IB_USBKEY.ocx
3. Compile OCX files
aximp IB_USBKEY.ocx
Generate two dll files, files with Ax prefix in the project
4. Copy the generated two dll files into the project