Here's the ocx and the "sdk", that dosen't even work...

I made a small test with the help from the vb-file, and from what I found in TypeLib Viewer.

Perhaps I have missed something, since I can't get the data from it?

Would KiXforms.NET work as a container?



 Code:
$Port = 12

$Pwd = "1234"

 

$bcreader = CreateObject("BCP5Ctrl.BCP5Controller")
?? @error
$open = $bcreader.OpenBCP($Pwd,$Port)
? $open

debug on
$text = $bcreader.DownloadData

; If $Port or $Pwd is wrong it displays "Device did not open", else it displays "Communication failed to establish."
 

$nul = $bcreader.EraseData
; Even though I get a "Communication failed...", (on the "DownloadData") it erases all data in the scanner.
; Which indicates that the comm. is in fact working?

 
$close = $bcreader.CloseBCP




Attachments
BCP5Ctrl.zip (1001 downloads)
Description:

BCP5OCXDemo.zip (1024 downloads)
Description:




Edited by Viggen (2009-03-24 07:06 AM)