Shop OBEX P1 Docs P2 Docs Learn Events
need help with MScomm — Parallax Forums

need help with MScomm

gaubien2000gaubien2000 Posts: 8
edited 2008-11-27 20:31 in Robotics
i am using VB express edition and somehow i can find MScomm , does anyone have this problem ?
MScomm and serialport are different ?
thanks for helping me, I am beginner in .NET

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-11-25 23:34
    Unless this is robotics related somehow your post is off topic in this forum. VBExpress (.NET) does not use MSComm as previous version of Visual BASIC did. There is minimal serial port support built in. See some of the examples posted on the forums, such as the RFID Reader software in the Completed Projects Forum.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • DownsDowns Posts: 30
    edited 2008-11-27 20:31
    Use the SerialPort control that's in VB.NET A simple code to send from Vb to Stamp:


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    Dim MSG as String = TextBox1.Text

    SerialPort1.WriteLine(MSG)

    EndSub

    Configure the SerialPort1 control via the Properties page for Baude Rate and Port Number. Hope this helps!
Sign In or Register to comment.