thanks maverick , there must be somthing wrong my end , it seems to work , ie locks the COM port so no other app can use it , but the STAMP2 PIC processor that i have connected to the serial port is not picking up the commands , (it works if i use windows terminal program)
thanks
Matt
thanks
Matt