Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set baud rate for comm port via Open "com1:"

Status
Not open for further replies.

lingyi

Programmer
Apr 11, 2001
65
SG
Hi,

Is it possible to set the baud rate for comm port using Open statement?

Thanks.

 
Never used it, but I found this is MSDN

MSComm1.Settings = "28800,N,8,1"
MSComm1.InputLen = 1
MSComm1.CommPort = 2
MSComm1.PortOpen = True
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top