currently working on a school's project .. using RFID modules ..
just try to achive the following ..
Private Sub MSComm1_OnComm()
If (MSComm1.CommEvent = comEvReceive) Then
TagData = MSComm1.Input
If (TagData = "52588B45") Then
frmLock.Hide
Else
frmLock.Show
End If
Else: If (MSComm1.CommEvent = comEventBreak) Then frmLock.Show
End If
End Sub
=======================================
my plan for the above code is ..to hopefully to acheive ..
when the tag's not within the range .. the code will turn the frmLock form back on ..but however, i am only able to turn it off when i put the tag within range ..
can anyone give me a clue of how to make sure .. somehow when the tag's off range ... what constant can i use to monitor on the serial port to turn the frmLock back ?


