用MSCOMM控件的程序怎么编写
DimDAta
MsgBox1
Ifitem.InBufferCount>0Then
MsgBox2
data=item.Input
MsgBoxdata
HMIRUNtime.Tags("数据修改").Writedata
MsgBox4
item.InBufferCount=0
MsgBox5
EndIf
MsgBox6
这样可以吗?
最佳答案
看下面的例子:htTP://blog.sina.com.cn/s/blog_03d6395601012xgg.html
http://wenku.baidu.com/link?url=tkR5QO4PUWnkdgz0eBYfgDYuZKe1CKXfQPDk4UnMP1Xo42TcMbioxWzQ-SLAMUnsf-ltHsDSAjS-uWhGhKOj6CKInN8lWSmTrv74haXkeOm
提问者对于答案的评价:
xiexie