I'm doing some project work, and we had write the code to use the VB to connect handphone to make it as GSM modum to send out msg. However the problem we face is that how should we do to the VB code to connect the PIC 16F877 to VB system to control the sending out msg. Means we use some sensor to be the switch. when it detector something, it will inform the PIC, then the PIC will send a signal through serial port RS232 to VB to send msg out. I had attach my code.Hope you can help us. Really tks.(the attach is the VB code in text)