易截截图软件、单文件、免安装、纯绿色、仅160KB

求助VB通讯数据识别

VB学的用的都不精,编个程序用了很长时间了,现在这个通讯部分还没做好,求助大家一下:
  ctrMSComm.Output = "@01R"    '读命令
   instar = ctrMSComm.Input         '读通讯
wy_I = val(HEX_to_DEC(Mid(instar, 29, 4))) * (20 / 4095#)
   wy = Format(5 * wy_I - 15, "0.000")
请教一下 (20 / 4095#) 什么意思呢?
"@01R"   用这个 读命令 读进来的数据不会识别,请教下有人知道怎么处理吗?
谢谢大家


相关文档:

BarCode 算法 VB类库 1

 Option Explicit
' VB / VBA Functions for Code128(A, B,C), UCC/EAN 128
' Copyright 2004 by MW6 Technologies Inc. All rights reserved.
'
' This code may not be modified or distributed unless you purchase
' the license from MW6.
Public UFPrefixFunctions As Boolean
Private I As Integer
Pri ......

VB中得到屏幕支持的分辨率和色位

http://topic.csdn.net/t/20030306/11/1497896.html#
 工程文件名:Chdsp.vbp  
Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\PWIN95\SYSTEM\\STDOLE2.TLB#OLE Automation
Module=Module1; ChDsp.bas
Form=ChDsp.frm
Startup="Form1"
He ......

vb移动窗体的代码

Option Explicit
Private Declare Function ReleaseCapture Lib "user32" () As Long
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Long) As Long
Const HTCAPTION = 2
Const WM_NCLBUTTONDOWN = &HA1
Pri ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号