Results 1 to 5 of 5

Thread: Serial comms in .net

  1. #1

    Thread Starter
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Serial comms in .net

    How do you send / receive data through a serial comm port?

    I've got a palmpilot on Com1 running some custom comms software and I want to talk to it from VB.net or C#.
    I don't live here any more.

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    All of it done through backside API... but free wrapped code classes are available here ..

    http://www.codeworks.it/net/VBNetRs232.htm

    http://www.freevbcode.com/ShowCode.asp?ID=4666

  3. #3

    Thread Starter
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    Excellent!

    Thank you.
    I don't live here any more.

  4. #4
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539
    or just reference Microsoft Communication Control and add one to your form and it takes care of most of the work for you.

  5. #5
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Three Anchor Bay, Cape Town, South Africa
    Posts
    769
    Just in case you have problems with the COMM32 control from .NET:

    You cannot reference the comm control and programmatically create an instance of the control in .NET. It will give you licensing errors when you deploy the program to the client. Whats more is there is no license for the control in any case.

    So, you must add the comm control to a form to use it in .NET.

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