Connecting to com port on client pc

Discussion in 'ASP.NET / ASP.NET Core' started by O'Neill, Nov 7, 2008.

  1. I'm trying to get datafrom abarcode scanner (COM1) on a client machine to a server hosted web app.

    Is there a way of doing this? (at the moment is trys to connect to the servers com port)

    I have found an activex control called activecomport however does not have a data recieved trigger. (and costs lots of $$$)

    Is there some code i can use or another control that would do what i want?
     
  2. Hi,
    Not sure if you can get it working to a DASP server from an outside machine...
    There is some Comm port ASP.NET sample code that comes with VS.
    Start VS, click on Help, then Samples.
    Extract the ZIP file for either VB or C#.
    Then look in the Server Component Samples folder.
    Salute,
    Mark











    Technical Evangelist for DiscountASP.NET
    http://www.iis7test.com/webcasts/
    http://weblogs.asp.net/markwisecarver/
    http://blogs.windowsclient.net/wisecarver/default.aspx

    (Microsoft IT Usability http://msitusability.multiply.com/)
     
  3. I think this will only work on a local machine, I might just have to fork out the $$ :)

    Would an active x control running on the client machine have access to the com ports on that machine?

    Is it possible to then pass that data back to the main app?

    I'm self taught so a point in the right direction might be enough to get me going

    Cheers
     

Share This Page