Results 1 to 5 of 5

Thread: How to add and use an OnComEvent with MSComm Control

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2009
    Posts
    166

    How to add and use an OnComEvent with MSComm Control

    How can I add a MSComm control to a Form in VB2008? like in VB6...
    (with properties etz..)

    Do I need to change some settings? or download the ocx?

    And when it has been added, is it like in VB6 - just clicking twice on the control opens a private sub OnComEvent?

  2. #2
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: How to add and use an OnComEvent with MSComm Control

    why not use SerialPort?
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2009
    Posts
    166

    Re: How to add and use an OnComEvent with MSComm Control

    is it the same?

    can you give me a link of an example code for reading and writing words out of

    this SerialPort control?

  4. #4
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: How to add and use an OnComEvent with MSComm Control

    look in my signature.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Mar 2009
    Posts
    166

    Re: How to add and use an OnComEvent with MSComm Control

    Ok , thank you vary much!

    if i'll have questions about it can I ask you on this thread?

Tags for this Thread

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