Page 1 of 1

Help VB6

Posted: Tue May 04, 2004 4:54 pm
by fcc
Hello

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
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:

Code: Select all

       Form1.MSComm1.Output = "MP3 Jukebox"
but it does not work to me either.

Thanks for your help.

Posted: Tue May 04, 2004 5:00 pm
by Henry
change your speed to 19200

Posted: Tue May 04, 2004 9:17 pm
by fcc
Thanks Henry.

now everything works well :)

Posted: Wed May 05, 2004 11:37 am
by Miles
Our units are set to 19200 baud from the factory. The MX2 revision 1.4 is set to 19200 baud only!! :)