Results 1 to 4 of 4

Thread: Send data, string through Serial Port

  1. #1

    Thread Starter
    Fanatic Member manhit45's Avatar
    Join Date
    May 2009
    Location
    Ha noi - Viet Nam
    Posts
    826

    Send data, string through Serial Port

    Hi , i knew Serial ports are a type of computer interface that complies with the RS-232 standard. They are 9-pin connectors that relay information, incoming or outgoing, one byte at a time. Each byte is broken up into a series of eight bits, hence the term serial port.
    And I want to write a program chatting through Serial Port. Have you got any sample about that please send me. Thanks.
    --***----------***-----

    If i help you please rate me.

    Working with Excel * Working with String * Working with Database * Working with array *

    K51 ĐH BÁCH KHOA HÀ NỘI - Khoa CNTT pro.

  2. #2
    Lively Member eatmycode's Avatar
    Join Date
    Mar 2010
    Location
    Kingston upon Hull
    Posts
    74

    Re: Send data, string through Serial Port

    Download this very good application, and save yourself some time:

    Multi-User Chat Application
    Technik ... Kniff, die Welt so einzurichten, dass wir sie nicht erleben mussen

    Max Frisch

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Send data, string through Serial Port

    The .NET Framework includes a SerialPort class. There are various examples around of its use.

    http://www.dreamincode.net/forums/in...howtopic=37361

    That was on the first page of results from a Google search for .net serialport. I reckon there'd be examples on this site too, e.g. in the CodeBank.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4
    Fanatic Member
    Join Date
    Sep 2009
    Location
    Lakewood, Colorado
    Posts
    621

    Re: Send data, string through Serial Port

    And, I have one or two examples in my book (OK, perhaps a few more), Visual Basic Programmer's Guide to Serial Communications 4. You also can go to my website and download a serial terminal example along the the other examples that posters have mentioned.

    Dick
    Richard Grier, Consultant, Hard & Software
    Microsoft MVP (Visual Basic)

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