borderAndreaVB free resources for Visual Basic developersborder
AndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2017 Andrea Tincani
:: 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

:: Navigation

Home

COM and LPT Ports Tips

Previous Tip

Next Tip

:: Search this site
Google
:: Related Topics
icon 10-12-2012 Re: Please help me to solve this problem???? by sulikan
icon 31-08-2010 Server Error in '/' Application - Wondering could any body advise me on this error? <Solved> by JJSmyth
icon 18-06-2009 Lotus - Productivity Features by Boesch25
icon 25-09-2006 Import data from Excel to Access Database through VB Code by shanthi05msc
icon 24-04-2006 Re: Web Browser control by qwertypunk
borderAndreaVB free resources for Visual Basic developersborder
borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2017 Andrea Tincaniborder