17.04.2014 Views

Microplate Barcode Labeler User Guide - Agilent Technologies

Microplate Barcode Labeler User Guide - Agilent Technologies

Microplate Barcode Labeler User Guide - Agilent Technologies

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

162<br />

Chapter 8: VCode ActiveX<br />

VCode <strong>User</strong> <strong>Guide</strong><br />

GetLastError<br />

Description<br />

Returns the last known error condition.<br />

Parameters<br />

Name Type Range Description<br />

error BSTR* Not applicable Stores the error string<br />

after returning from the<br />

call.<br />

Returns<br />

HRESULT<br />

Examples<br />

Visual C++<br />

BSTR msg;<br />

m_VCode.GetLastError( &msg);<br />

Visual Basic<br />

Dim msg as String<br />

VCode1.GetLastError( msg)<br />

// msg now contains the error<br />

// message<br />

SysFreeString( msg);<br />

HasBCR<br />

Description<br />

Returns whether or not the VCode has detected a bar code reader.<br />

Parameters<br />

None.<br />

Returns<br />

VARIANT_BOOL<br />

Examples<br />

Visual C++<br />

VARIANT_BOOL hasBCR=<br />

m_VCode.HasBCR();<br />

Visual Basic<br />

Dim hasbcr as Boolean<br />

hasbcr=VCode1.HasBCR()

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!