文件名称: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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
vb串口通信控件-mscomm.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.