borderAndreaVB free resources for Visual Basic developersborder

AndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 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 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
icon 28-09-2005 Re: Having Different Footer of Different size on Crystal report Pages by EvilDags
icon 21-04-2005 Re: report by GeoffS
icon 01-03-2005 Printing size different from actual setting by rainbow
Partners: Il portale per lui e lei | Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder