登录
首页 » Visual Basic » CommTest485

CommTest485

于 2015-07-23 发布 文件大小:19KB
0 268
下载积分: 1 下载次数: 1

代码说明:

  测试com口程序Private Sub Form_Load() Dim I As Integer Dim Msg As String Me.Enabled = False Msg = 串行端口通讯测试 V & App.Major & . & App.Minor & App.Revision cboCommSettings.Text = GetSetting(App.EXEName, frmCommTest , CommSettings , 2400,N,8,1 ) Me.Show Me.Refresh With MSComm1 For I = 1 To 16 Me.Caption = Msg & - 测试通讯端口:COM & I & ... Me.Refresh Delay 100 On Error Resume Next .CommPort = I .Settings = 2400,N,8,1 .PortOpen = True .PortOpen = False If Err = 0 Then cboCommPort.AddItem COM & Trim(I) Next I End With cboCommPort.ListIndex = 0 optCommData(0).Value = True Me.Caption = Msg & (Programming by WJY) Me.Refresh If cboCommPort.ListCount = 0 Then MsgBox 程序检测不到可用的串行端口! Me.Enabled = True End Sub (test com port)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • NASTester_14
    nat tester ............................................
    2013-02-12 13:14:41下载
    积分:1
  • NTGraph
    超级好用的图表控件,非常出名!内附实例,源码及DOC说明文档(Super easy to use control charts, a very famous! Containing examples, source code and documentation DOC)
    2021-02-27 14:39:36下载
    积分:1
  • CPP-BasicEducation(PDF)
    C++面向对象的经典使用教程,是难得好的学习材料(failed to translate)
    2013-05-05 14:29:25下载
    积分:1
  • daoyouzixun
    根据课程设计任务书要求,为校园管理部门设计一个简单的导游咨询程序, 实现如下功能: (1) 设计校园平面图,所含景点不少于10个,以图中顶点表示校园内各景点,存放景点名称、代号、简介等信息,图中的边表示景点间的道路,存放路径长度等信息。 (2) 为来访客人提供图中任意景点相关信息的查询。 (3) 为来访客人提供图中任意景点的问路查询,即查询任意两个景点之间的路径(列出所有),并向访客推荐一条最短路径。(Curriculum design task requirements for campus management department to design a simple guide consultation process to achieve the following functions: (1) The design of the campus plan, contained in the attractions of not less than 10, said the campus attractions to vertices in the graph store Attraction name, code, brief information, edges in the graph represents a road between the attractions storage path length information. (2) information query any attractions for visiting guests. (3) provide for the visiting guests to ask the way of any attractions query, that query path between any two attractions (list all) to visitors recommend a shortest path.)
    2013-03-23 15:21:40下载
    积分:1
  • Cinfodlg
    sock配置学习(sock configuration learning)
    2004-09-29 10:18:16下载
    积分:1
  • VB_Access
    实现Visual Basic 与Access数据库的链接,包括Access数据库的打开、数据的写入、读出、删除、更新等!(It not only enable you to open the Access database but also input, output, delet and update the data in Access)
    2009-09-14 16:31:08下载
    积分:1
  • DIBAPI
    说明:  对图片的处理很好的源代码,对图片的处理很好的源代码,对图片的处理很好的源代码,对图片的处理很好的源代码,对图片的处理很好的源代码(very important for the picture!very important for the picture!very important for the picture!very important for the picture!very important for the picture!)
    2009-08-29 16:22:32下载
    积分:1
  • moni
    用于蘑菇温棚的模拟控制程序,包括xls表和动态显示控件,模拟速度速度可调节(Mushroom greenhouses for analog control procedures, including xls tables and dynamic display of control, analog speed can be adjusted)
    2010-07-11 00:29:28下载
    积分:1
  • Multicast
    使用vs2010工具,利用MFC,实现组播通信,只要加入了组,就可以实现通信,该软件还能显示组内成员用户名,IP。(Using vs2010 tools, the use of MFC, multicast communication, joined the group as long as you can communicate, the software can display the group members user name, IP.)
    2021-01-28 15:08:36下载
    积分:1
  • vb_rar
    VB调用WINRAR,自动读取注册表,不管WINRAR的安装路径在哪里都能调用(VB call WINRAR, automatically reads the registry, regardless of the installation of WinRAR path where all calls)
    2008-03-11 21:19:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载