Results 1 to 2 of 2

Thread: MSComm Settings

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    33

    MSComm Settings

    How do i set the flow control of the MSComm control to hardware?
    Last edited by royshh; May 11th, 2005 at 08:21 AM.

  2. #2
    New Member
    Join Date
    May 2005
    Posts
    1

    Re: MSComm Settings

    What type of Hardware handshaking are you using?
    The following lines of code explain each different type of handshaking in VB6.
    Assumming that MSCOMM32.OCX is called MSComm1

    MSComm1.Handshaking = 0 ' Default No Handshaking'[/COLOR]
    MSComm1.Handshaking = 1 ' XON/XOFF Handshaking'
    MSComm1.Handshaking = 2 ' RTS/CTS (Request To Send/Clear To Send)'
    MSComm1.Handshaking = 3 ' RTS & XOnXOff Handshaking'

    Good luck.

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