Modem Command

Jan 13 2004 11:24 AM
Can someone please tell me how to duplicate the following VB.NET Command in C#: AxNETComm1.set_Output("ATDT 16016644844" & vbCr) It is an output command for a modem. I have tried the following commands but I just can't seem to get the carrage return correct: byte mybyte = 13; String Buffer = "ATDT 916016644844 " + mybyte; Object oBuffer = (object)Buffer; axNETComm1.PortOpen = true; axNETComm1.set_Output(ref oBuffer); Please Help. All suggestions are greatly appreciated. Thanks, Kendal

Answers (1)