雨路IT
当前位置:首页 » it资讯

vb有关mscomm控件的问题

八月 23rd, 2007 by admin



用mscomm控件从计算机串口接受数据,inputmode=cominputmodebinary,  
  部分程序如下  
              dim   p   as   variant  
              dim   a(4)   as   byte  
          select   case   mscomm1.commevent  
          case   comevreceive  
                      p   =   mscomm1.input                      
                      a(1)   =   p(0),程序运行到这里总说p(0)下标越界,用单步执行却没有问题,  
                                                何解?

.

参考文章:

  • “倒顾”律师严义明:“倒顾”运动还会继续
  • 我对7650软件操作的一点看法
  • Web 客户端集成到 WebSpher…
  • Collaboration Services 2.…
  • 向 IBM Workplace portlet …
  • 有钱律师相亲遭拒5000多次 被称世界最丑人
  • 618外壳的小问题
  • Instant Messaging SPI 进行…
  • 使用 Rational Application Developer 创建接收 SOAP 附件的 Web 服务
  • 探索 WebSphere Portal V5.1.0.1 编程模型: 第 3 部分:将 WebSphere Portal 集成到安…
  • 网友回答:

    Posted in noname. Edit

    发表评论