Results 1 to 2 of 2

Thread: MSComm problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    3

    Smile

    Hello!
    Thank you your read.
    I have a problem on serial comm. in VB program.
    I want to InputBinaryMode to receive the data. However, when I set Binary mode in MSCOMM control, it cannot receive several byte of data. It only interupt once (or receive one byte), but my receive data contain several bytes.
    Moreover, I change input mode it InputTextMode, VB can receive several bytes, when transmit several bytes.

    Thank you your help.

    KLTsang

  2. #2
    Lively Member
    Join Date
    Jun 2000
    Posts
    80
    In binary mode, you can raise an event for every byte. Just adding this bytes to an array or a string will help.
    MSComm will receive all data (not just one byte).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width