Make your own free website on

[an error occurred while processing this directive]
Private Declare Function ConfigurePort Lib "winspool.drv" Alias "ConfigurePortA" (ByVal pName As String, ByVal hwnd As Long, ByVal pPortName As String) As Long
Private Sub Form_Load()
    'KPD-Team 1999
    MsgBox ConfigurePort("", Me.hwnd, "COM2")
    MsgBox ConfigurePort("", Me.hwnd, "LPT1")
End Sub

Copyright © 1998-2000, The KPD-Team.
Send mail to with comments about this web site.
This site is located at