Arduino serial output read from vb program

Hi, I was looking to make a program in visual basic that reads the serial output from the arduino so if a switch that is hooked up to the arduino is in the closed position, it will send a 1 to the serial and then the vb program can read the i value and tell that the switch is in the closed position, and vise versa. If anyone could help me out that would be great.

Thanks for any help

Zach

Hi, I was looking to make a program in visual basic that reads the serial output from the arduino so if a switch that is hooked up to the arduino is in the closed position, it will send a 1 to the serial and then the vb program can read the i value and tell that the switch is in the closed position, and vise versa.

Permission granted.

Thanks for any help

You are welcome.

Did you solve the problem? I get it too and don't know how to figure it out. I have tried send a bit from VB to arduino and i success but i can't get it the other way around

I have tried send a bit from VB to arduino and i success but i can't get it the other way around

I'll put on my Karma the Magnificent costume. Be right back. Ah, I see. Your problem is on line 38. Fix that.

supertzag:
If anyone could help me out that would be great.

Have you tried googling for expressions like "VB read from serial port"?