CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 1999
    Posts
    4

    URGENT : How to read data from SERIAL PORT using VB



    I've made a hardware that send data (bits) to PC using serial port.

    I use 4 bits of data.

    I know the pins which is used to send the bits to PC (using pin number 10, 11, 12, 13, 15, 16, and 17).


    Thanks.

  2. #2
    Join Date
    Jun 1999
    Posts
    22

    Re: URGENT : How to read data from SERIAL PORT using VB

    U can use MSCOMMN Active X control.


    Dim Message1

    MSCOMM1.PORT = 2
    MSCOMM1.OPEN = true

    Message1 = MSCOMM1.input




    U can see the sample code of MSCommunication in VB5 samples. Hope that will solve your problem. If not, U can contact me. I will be able to provide complete support to you.

    Ravi Sangisetti
    Sr.Software Engineer
    Contech India Ltd
    Gandinagar, India

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

Featured