Reading from a com port

Discussion in 'ASP .Net' started by =?Utf-8?B?UGF1bGE=?=, May 25, 2004.

  1. I have done a lot of research trying to figure out how to read from a com port that has a scanner connected to it. In VB6 it was easy to use the MSComm control. Does anyone have any suggestions on how to do it in an ASP.NET app...I want to be able to scan a barcode (the scanner is connected to com1) and read the buffer into a text box automatically when somone scans
    A lot of the code I have found is in C and does not read from the port
    I also have tried to use the MSComm object from VB6 in the .NET app with no success

    Any help is greatly appreciated!
    =?Utf-8?B?UGF1bGE=?=, May 25, 2004
    #1
    1. Advertising

  2. Is this of any use?

    "Serial com ports the .net way"

    http://www.gotdotnet.com/Community/...mpleGuid=9dde5cf3-4842-4d4b-baa7-73e09c4d5890

    "Paula" <> wrote in message
    news:...
    >I have done a lot of research trying to figure out how to read from a com
    >port that has a scanner connected to it. In VB6 it was easy to use the
    >MSComm control. Does anyone have any suggestions on how to do it in an
    >ASP.NET app...I want to be able to scan a barcode (the scanner is connected
    >to com1) and read the buffer into a text box automatically when somone
    >scans.
    > A lot of the code I have found is in C and does not read from the port.
    > I also have tried to use the MSComm object from VB6 in the .NET app with
    > no success.
    >
    > Any help is greatly appreciated!
    Ken Cox [Microsoft MVP], May 26, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John T. Goodman

    Overhead of 4-port over 2-port SRAM

    John T. Goodman, Jan 25, 2005, in forum: VHDL
    Replies:
    0
    Views:
    596
    John T. Goodman
    Jan 25, 2005
  2. Sean Wolfe
    Replies:
    1
    Views:
    2,249
    Joerg Jooss
    Apr 28, 2005
  3. b3ny
    Replies:
    11
    Views:
    919
    Babu Kalakrishnan
    Nov 20, 2004
  4. Gerald Klix
    Replies:
    0
    Views:
    1,269
    Gerald Klix
    Oct 26, 2005
  5. msalerno
    Replies:
    3
    Views:
    409
    Ilmari Karonen
    Jul 14, 2005
Loading...

Share This Page