Chapter 17. Programming Using Ocx (Ole Customer Control); System Requirements; Installation; Using Ocx - Denso BHT-700-CE Reference Manual

Barcode handy terminal
Table of Contents

Advertisement

Chapter 17. Programming Using OCX (OLE Customer Control)

The BHT-700 Software Development Kit (BHT-700 SKD) provides ActiveX Control that can be used for
programming applications for barcode reading and file transfer.
This chapter gives information for using the ActiveX control.

17.1. System Requirements

(1) BHT-700 Software Development Kit
(2) Control files .ocx for the desktop
- Scanner700.ocx: For barcode reading (for BHT-700B)
- Scanner700Q.ocx: For barcode reading (for BHT-700Q)
- FileTransfer700.ocx: For file transmission
- FileTransferPC.ocx: For file transmission(for PC)

17.2. Installation

(1) Copy the .ocx files in the BHT-700 Software Development Kit CD onto the appropriate folder of your
PC.
(2) Open the DOS command prompt and change the directory to the folder including the .ocx files.
(3) Run the following two commands on the command line (>):
> regsvr32 Scanner700.ocx
> regsvr32 Scanner700Q.ocx
> regsvr32 FileTransfer700.ocx
> regsvr32 FileTrrnaferPC.ocx

17.3. Using OCX

In Microsoft Foundation Class (MFC)
(1) Open an existing project or create a new project in eMbedded Visual C++.
(2) Insert the newly installed ActiveX control into eMbedded Visual C++. (This step is required only
when the ActiveX control is first used after installation.)
(3) -1 Point and right-click the active window or dialog, then choose "Insert ActiveX Control" command
on the dropdown menu.
141

Advertisement

Table of Contents
loading

Table of Contents