GFLRC/Receiver/Testfrm.frm
VERSION 5.00
Begin VB.Form Testfrm
Caption = "GFLRC Test"
ClientHeight = 3075
ClientLeft = 60
ClientTop = 465
ClientWidth = 4650
LinkTopic = "Form1"
ScaleHeight = 3075
ScaleWidth = 4650
StartUpPosition = 3 'Windows‑Standard
End
Attribute VB_Name = "Testfrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
'on error resume next
Call GFLRC_Receiverfrm.OpenLRCPort("GFLRC Test Port")
Call GFLRC_Receiverfrm.GFLRC_AddCallBackForm(Testfrm)
End Sub
Private Sub Form_Unload(Cancel As Integer)
'on error resume next
Call GFLRC_Receiverfrm.GFLRC_RemoveCallBackForm(Testfrm)
Call GFLRC_Receiverfrm.CloseLRCPort
End Sub
Public Sub GFLRC_ReceiveMessage(ByVal Message As String)
'on error resume next
MsgBox Message, vbOKOnly + vbInformation
End Sub
[END OF FILE]