Results 1 to 3 of 3

Thread: MSComm control question ...

  1. #1

    Thread Starter
    Addicted Member curlywink's Avatar
    Join Date
    Mar 2000
    Location
    Manila, Philippines
    Posts
    141
    Hi there,

    How can I detect or recieve incoming files while connected to the other PC ...


    Any comments/ideas much appreciated ...



  2. #2
    I did a proggy that read it byte/byte of the hard disk then just send it down the line as if it where extended asci text.

  3. #3
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Lightbulb User the EvCommReceive Events...

    You can use the On_Comm events to detect is the any incoming data from the connected PC.

    Code:
    Private Sub MSComm1_OnComm()
    Select Case MSComm1.CommEvent
    Case comEvReceive
        'Put you code here.
    End Select
    End Sub
    Properly you need to put some message header to identified between the normal data and the file's content before you really open a blank file to store the received data.


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