Article ID: 112418
Article Last Modified on 8/5/2004
119591 How to Obtain Microsoft Support Files from Online Services
Sub Command1_Click ()
comm1.PortOpen = True
comm1.PortOpen = False
End Sub
' Enter each of the following Declare statements on one, single line:
Declare Function OpenComm Lib "User" (ByVal lpComName As String, ByVal
wInQueue As Integer, ByVal wOutQueue As Integer) As Integer
Declare Function CloseComm Lib "User" (ByVal nCid As Integer)
As Integer
Sub Command1_Click ()
Dim id As Integer, success As Integer
id = OpenComm("COM1", 1024, 128)
success = CloseComm(id)
End Sub
Additional query words: 3.00 serial comm port
Keywords: kbdownload kbcode KB112418