UHFReader09CSharp.dll和Basic.dll复制到foxtable的安装目录,添加对UHFReader09CSharp.dll的引用:http://www.foxtable.com/webhelp/topics/1936.htm
命令窗口执行下面代码:
Dim port As Integer =0
Dim fComAdr As Byte = &Hff '当前操作的ComAdr
Dim ferrorcode,frmcomportindex As Integer
Dim fBaud As Byte
Dim openresult As Integer = ReaderB.StaticClassReaderB.AutoOpenComPort(port,fComAdr,fBaud,frmcomportindex)
msgbox(openresult )