hello to you all,
first thanks alot for the reply,
let have example to understand that better , to create command button in the visual basic and lets say if i press this button it's gonna send the character '0' which is d'48'(ACSII CODE) to the pic first i've to configure the MScomm
i did that so far :
Option Explicit
Private Sub cboBaud_Click()
On Error GoTo BaudErr
If MSComm1.PortOpen Then
MSComm1.PortOpen = False
End If
MSComm1.Settings = cboBaud.Text & ",n,8,1"
MSComm1.PortOpen = True
BaudErr:
If Err <> 0 Then
MsgBox Error$(Err)
End If
End Sub
so now, the problem how i'm going to send the d'48' to the pic,
thanks