User manual

Copyright © Dr Robot Inc. 2005
13
V. Building PC Applications Using SDK
This section will discuss how to program user’s applications. Several sample applications with source
code are provided to help user kick start in using the WiRobot system. All these source code will be
stored in the “SampleApps” folder under the WiRobot SDK installation location.
V.1 Using WiRobot SDK Component ActiveX Control
When user starts to write an application, he/she first adds the WiRobot SDK Component in your VB or
VC++ project. The ActiveX object is installed during the installation process and the following is a step
to step guideline showing how to incorporate the ActiveX Control into a VB 6.0 project:
Create a new VB project
Click “Project” in the menu and choose the “Components
Figure V.1 Using ActiveX module under VB Step 1
Uncheck the “Selected Items Only” box to show all components, choose the “WiRobot SDK
ActiveX Module” and click “OK”