I have the PIC side of things working OK. Very simple to start with, when i send a 1 to the PIC serially, it flashes an LED. Nice simple visual representation that the data is received.

However, this is done using the serial communicator as part of Microcide Studio.

I have made a small VB app which i planned on sending this code, but nothing is happening.

Can anyone assist or point me in a direction of where to look for VB - PIC comms. Ultimately i would like to send a series of variables to the PIC for storage in EEPROM to use later in its program.

Here is the VB Code i came up with:

Code:
Private Sub Form_Load()

' 2400 Baud, No Parity, 8 Data Bits, 1 Stop Bit
MSComm1.Settings = "2400,N,8,1"

' Open COM1
MSComm1.CommPort = 1
MSComm1.PortOpen = True

End Sub

Private Sub Form_Unload(Cancel As Integer)
    MSComm1.PortOpen = False
End Sub

Private Sub Command1_Click()
    MSComm1.Output = Text1.Text
End Sub

Private Sub Command2_Click()
    MSComm1.PortOpen = False
    End
End Sub
Obvioulsy there is a text box where i am typing 1 into and then pressing the command button to send the 1 serially to the PIC.

Thanks for any assistance.

Steve