Shop OBEX P1 Docs P2 Docs Learn Events
Serial Support & Newer Versions of VB — Parallax Forums

Serial Support & Newer Versions of VB

Fast MiconFast Micon Posts: 16
edited 2005-07-05 14:37 in General Discussion
I am currently using Visual Basic 6.0 and have developed applications that communicate with the Stamp via·a serial port using VB 6.0 serial port support.· I am exploring the alternative of upgrading to VB .NET or possibly VB 2005.· Does anybody know if these versions support a serial port?

Thank you.

Fernando

Comments

  • NateNate Posts: 154
    edited 2005-07-04 21:01
    Short answer - yes, it appears that you can use the serial port with VB.NET.·

    Long answer - I too have been working to use VB.NET with microns - I have found some resources on the net that appear to show the needed code to open communication with a serial port; However the shortest I have found so far is about 3 pages of code, simply to open the port.· It seems insanely complicated.· So complicated that I have taken to using the VB6 at work to do my coding rather than my personal copy of VB.NET.· I will look up my work and try to post the good links I have found so far in the next couple of days·- perhaps we could work together to figure a 'simple' way to use VB.NET with microns.

    Nate
  • KB3JJGKB3JJG Posts: 95
    edited 2005-07-05 14:37
    take a look at softwire, it's free and quite cool. I have had fun using it in vb6 and .net with my bs2.
    http://www.softwire.com/
    You can mix native code with softwire controls, use it for your serial comms with little if any work!


    also have a look here, http://www.codeworks.it/net/VBNetRs232.htm··· a class written for serial comms, I have been meaning to take a look at this one but have yet to find the time.

    ·
Sign In or Register to comment.