| :: How to show the common port settings window, with this window you can setup all the
COM and LPT transmission parameters... |
Author |
Andrea Tincani |
Language |
VB5, VB6 |
Operating
Systems |
Windows 95, 98 and NT |
| API
Declarations |
Private Declare Function ConfigurePort Lib "winspool.drv"
Alias "ConfigurePortA" (ByVal pName As String, ByVal hwnd As Long, ByVal
pPortName As String) As Long |
| Usage |
Private Sub Command1_Click()
MsgBox ConfigurePort("", Me.hwnd, "COM1:")
MsgBox ConfigurePort("", Me.hwnd, "LPT1:")
End Sub |
|
 |
|
 |