Test for Leap Year
The tip “Leap Year Rules” [“101 Hot Tech Tips for VB Developers,” Supplement to the August 1996 issue of VBPJ, page 22] illustrated how to easily determine if any given
The tip “Leap Year Rules” [“101 Hot Tech Tips for VB Developers,” Supplement to the August 1996 issue of VBPJ, page 22] illustrated how to easily determine if any given
Here is a tip that should make life simpler for all VB programmers doing mixed 16/32-bit development in VB4 under Windows 95. I have three additional items in my project
The tip you published on page 70 of the September 1996 issue of VBPJ on “Validating Numeric Input” was a good tip. However, the function failed to take into account
I use a housekeeping routine to check the state of tables during system initialization. The routine tests whether the table is in a collection, whether the table has data, and
To put a combo box on a toolbar, create a place holder and positionthe combo box above the place holder in the z-order. You can’t place thecombo box inside the
Need a fast way to print only one sub or function in VB3 that also takes care of the problem some printers have in printing the last page?Create a small
In VB3, the PostMessage API can cancel an error during Form_Load. Theform unloads if you send a WM_CLOSE message to the loaded window in theerror handler of the Form_Load routine.
To draw a selected transparent image in VB4 from an Imagelist control,as you do in C++, follow these steps. The ImageList_ API functions have many features that weren’t passedthrough in
To test whether a date falls on a weekend, you might be inclined to do this: nDay = weekday (sDate)If (nDay = 1) or (nDay = 7) Then ‘It’s a