Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/09/04 15:36
Read: times


 
#68249 - RE: display wrong number
Responding to: ???'s previous message
Still not working... >_<
The program:
----------------------------------------
Private Sub MSComm1_OnComm()
Dim sData() As Byte
If MSComm1.CommEvent = comEvReceive Then
Cls
sData = MSComm1.Input
Print sData(LBound(sData))
'Print sData(UBound(sData) + 1)
Print UBound(sData)
End If
End Sub
----------------------------------------
The output:
----------------------------------------
0
0
----------------------------------------
Stanley

List of 24 messages in thread
TopicAuthorDate
8051 -> mscomm1.input            01/01/70 00:00      
   RE: 8051 -> mscomm1.input            01/01/70 00:00      
   RE: 8051 -> mscomm1.input            01/01/70 00:00      
   RE: 8051 -> mscomm1.input            01/01/70 00:00      
      RE: 8051 -> mscomm1.input            01/01/70 00:00      
   RE: 8051 -> mscomm1.input            01/01/70 00:00      
   display wrong number            01/01/70 00:00      
      RE: display wrong number            01/01/70 00:00      
         RE: display wrong number            01/01/70 00:00      
            RE: display wrong number            01/01/70 00:00      
               so note for your vb            01/01/70 00:00      
               Still not working~..........            01/01/70 00:00      
                  RE: Still not working~..........            01/01/70 00:00      
                     This line:            01/01/70 00:00      
                     RE: Still not working~..........            01/01/70 00:00      
                        Okay~! but you email address is...?            01/01/70 00:00      
                           my email            01/01/70 00:00      
      RE: display wrong number            01/01/70 00:00      
         RE: display wrong number            01/01/70 00:00      
      RE: display wrong number            01/01/70 00:00      
   RE: 8051 -> mscomm1.input            01/01/70 00:00      
      RE: 8051 -> mscomm1.input            01/01/70 00:00      
   Whole new one            01/01/70 00:00      
   Cannot use on_comm            01/01/70 00:00      

Back to Subject List