Count The Rows In A Table Before Selecting Those Rows
This technique easily helps you avoid an Object not Set error, and savestime by not sending unnecessary queries: Sub Form1_Load () Dim db As database Dim ds As snapshot Dim
This technique easily helps you avoid an Object not Set error, and savestime by not sending unnecessary queries: Sub Form1_Load () Dim db As database Dim ds As snapshot Dim
When you want your bound controls to be updated in reaction toa user click in a list box or combobox, add this code to the click-event(or double-click event) of the
Here’s how to create an etched or disabled icon using an icon editor:1. Change all filler color to light gray. 2. Change the outline to dark gray (usually from black).
Most developers know about VB4’s Conditional Compilation feature, where you can declare WindowsAPIs for 16-bit and 32-bit operating systems: #If Win#32 then ‘If running in 32-bit OS Declare SomeApi….#Else ‘If
When users are comfortable using the Enter key to proceed to the nextfield, you can allow them to continue their old habits. You need very littlecoding to accomplish this. Set
I ran across an interesting problem trying to install VB4 EnterpriseEdition in the Windows 3.1 environment. The new version of VBuses the Registry database, which in Win 3.1 is limited
There are many times when you may not want to allow more than one instanceof your application to be launched. In such cases, your program needs todetermine if an instance
Most things in VB4, including the VBA and VB engines, are OLEobjects. In some cases, objects can expose properties or methodswith the same name as in another object. Theoretically, the
To allow different INI files for different users on the same machine,use the command line to specify the specific INI file path and file name.Add a check to see if