文件名称:vb-mscomm
介绍说明--下载内容均来自于网络,请自行研究使用
MSComm控件提供了两种处理通信的方式:一种为事件驱动方式,该方式相当于一般程序设计中的中断方式。当串口发生事件或错误时,MSComm控件会产生OnComm事件,用户程序可以捕获该事件进行相应处理。本文的两个例子均采用该方式。另一种为查询方式,在用户程序中设计定时或不定时查询 MSComm控件的某些属性是否发生变化,从而确定相应处理。-MSComm control provides a way to communicate two treatments: one is event-driven way, the method is equivalent to interrupt normal programming mode. When the serial events or errors, MSComm control will produce OnComm event, the user program can capture the event dealt with accordingly. Two examples of this paper are used in the way. Another way for the query, the user program in the regular or irregular design MSComm control query whether the changes in some properties to determine the appropriate treatment.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
vb串口通信控件-mscomm.doc