AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile
hi please i need help i have a divice which i want to connect it to my pc by let we see com1 (serial port) but i want my visual basic code control the open and close of this port by sinding a signal how to do that thanks
Comm control ____________________________ If you find the answer helpful, please mark this topic as solved.
thanks for replay but i have problem with the line MSComm1.CommPort = 1 i don't know how to deal with it. simply i need to know how to open and close the port for small period by visual basic thanks
try this to open the port
thanks for replay but this is not what i want . MSComm1.Output = "rd0" + Chr$(26) rd0 what it is mean ??
it might be a command to your sensor from the master (PC)