H
I have build a converter for RS 232 - Lanc
If I use Hyperterminal I can send commands to a VCR (Sony) for example 1034 would make the VCR start
How can I use these codes (1034 / 1030 / 10C2) within Visual Basic (6)
The problem that I am facing is that it is no problem to open a Hyperterminal session.
I type in 1034 en CR and the VCR starts to playback.
Now I want to use these commands in Visual Basic
Private Sub MSComm1_OnComm()
MSComm1.CommPort = 2
MSComm1.Settings = "9600,n,8,1"
MSComm1.PortOpen = True
End Sub
Private Sub Start_Click()
MSComm1.Output = "1034"
End Sub
This does NOT work (error, port not open)
Please advise (I am not very experienced with VB)
If I use Hyperterminal I can send commands to a VCR (Sony) for example 1034 would make the VCR start
How can I use these codes (1034 / 1030 / 10C2) within Visual Basic (6)
The problem that I am facing is that it is no problem to open a Hyperterminal session.
I type in 1034 en CR and the VCR starts to playback.
Now I want to use these commands in Visual Basic
Private Sub MSComm1_OnComm()
MSComm1.CommPort = 2
MSComm1.Settings = "9600,n,8,1"
MSComm1.PortOpen = True
End Sub
Private Sub Start_Click()
MSComm1.Output = "1034"
End Sub
This does NOT work (error, port not open)
Please advise (I am not very experienced with VB)