Help VB6

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
fcc
LCD?
Posts: 6
Joined: Tue Apr 13, 2004 5:38 pm

Help VB6

Post 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.
Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3014
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Post by Henry »

change your speed to 19200
Henry J.
President
Matrix Orbital
fcc
LCD?
Posts: 6
Joined: Tue Apr 13, 2004 5:38 pm

Post by fcc »

Thanks Henry.

now everything works well :)
Miles
Matrix Orbital
Matrix Orbital
Posts: 1105
Joined: Mon Mar 04, 2002 4:00 pm

Post by Miles »

Our units are set to 19200 baud from the factory. The MX2 revision 1.4 is set to 19200 baud only!! :)
Miles Y.
Head of Technical Support
Product Manager
Matrix Orbital
Post Reply