0
我正在開發一個項目,使用asp.net將短信發送到與我的電腦相連的手機。 我不會問如何去做。 我希望有人來幫我找我的COM端口號COM端口連接問題
我試圖 1.設備管理器>端口(COM & LPT) problm:有在devicemanger列表中沒有端口(COM & LPT)。
我試圖編程 我得到這個代碼
imports System.IO.Ports Private Shared Sub SendSampleData() ' Instantiate the communications ' port with some basic settings Dim port As New SerialPort("COM1", 9600, Parity.None, 8, StopBits.One) ' Open the port for communications port.Open() ' Write a string port.Write("Hello World") ' Write a set of bytes port.Write(New Byte() {&Ha, &He2, &Hff}, 0, 3) ' Close the port port.Close() End Sub
和franckly說我不kn0w如何在它輸入的電話號碼。
可以some1請幫我實現我的目標嗎?
是兄弟的名字我用它fr測試;)thnxx iul嘗試你建議的解決方案rite away – 2013-03-15 19:49:26