Display the dialog to configure a port
The ConfigurePort API function lets you programmatically bring up the system dialog box for configuring a COM or LPT port. The function returns a non-zero value if successful (that is,
The ConfigurePort API function lets you programmatically bring up the system dialog box for configuring a COM or LPT port. The function returns a non-zero value if successful (that is,
VB6 functions can return an array. Unlike regular functions that return scalar values or objects, however, you can’t use the name of the function as a local variable where to
As explained in the Mistake Bank you need all three flavors of Property procedures to correctly implement a Variant property that can take either an object or a non-object value.
The ListView control that comes with VB6 lets you select an entire row by setting its FullRowSelect property to True. If you are working with VB5 or you’re using VB6
Creating a read-only property or a write-only property isn’t difficult, as you probably know: just omit the Property Let (or Set, if dealing with objects) or the Property Get procedure,
The Open statement also supports special device names such as COM1 or LPT2. You can build on this feature and use the Open command to test whether a given serial
VB gives you no control on the size of the text caret. At times it can be necessary to change its size, however, for example when you want to signal
One of the simplest and most effective uses of the ObjPtr function is to provide a key for quickly locating an object in a Collection. Let’s suppose you have a
You can retrieve and change the blink rate of the flashing caret inside TextBox controls through a couple of simple API functions: Private Declare Function SetCaretBlinkTime Lib “user32” (ByVal wMSeconds