Results 1 to 2 of 2

Thread: Serial port on VB.net using old mscomm

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Location
    Porto Alegre, RS
    Posts
    210

    Serial port on VB.net using old mscomm

    i'm trying to use the msComm ActiveX on vb.net and when i to this code:

    VB Code:
    1. serial = New AxMSCommLib.AxMSComm
    2.  
    3.         serial.CommPort = CommPortt
    4.         serial.Settings = CommBaudRatee & ",N,8,1"

    i get an error:
    serial.CommPort <error: an exception of type: {System.Windows.Forms.AxHost.InvalidActiveXStateException} occurred>

    what should i do to use this ocx on .net??

    Thank you,
    Guilherme Costa

  2. #2
    Lively Member formulav8's Avatar
    Join Date
    Mar 2002
    Location
    Orlando
    Posts
    116
    Hi, Go to these links. Should give you a nice boost.


    Click here

    Click here too


    Jason

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