Results 1 to 5 of 5

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

  1. #1
    Addicted Member
    Join Date
    Mar 09
    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 07
    Location
    Pointless Forest 38.517,-92.023
    Posts
    7,213

    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 ---
    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein
    "They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." Benjamin Franklin

  3. #3
    Addicted Member
    Join Date
    Mar 09
    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 07
    Location
    Pointless Forest 38.517,-92.023
    Posts
    7,213

    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 ---
    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein
    "They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." Benjamin Franklin

  5. #5
    Addicted Member
    Join Date
    Mar 09
    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
  •