Help VB6
Posted: Tue May 04, 2004 4:54 pm
Hello
I try to control the mx2 with vb6, but without success until now.
the first is clean the screen.
but the result is 3 ascii letter (top,left).
What I am making bad?.
the other step is write something to display, in other post they suggest:
but it does not work to me either.
Thanks for your help.
I try to control the mx2 with vb6, but without success until now.
the first is clean the screen.
Code: Select all
Private Sub Form_Load()
Form1.MSComm1.Settings = "9600,N,8,1"
Form1.MSComm1.CommPort = 3
Form1.MSComm1.InputLen = 0
Form1.MSComm1.PortOpen = True
SendText
End Sub
Private Sub SendText()
Form1.MSComm1.Output = Chr$(&HFE) & Chr$(&H58)
Form1.MSComm1.PortOpen = False
End Sub
What I am making bad?.
the other step is write something to display, in other post they suggest:
Code: Select all
Form1.MSComm1.Output = "MP3 Jukebox"
Thanks for your help.