devxlogo

August 7, 1997

Error Handling In A Class Module

To signal errors from within a class method, use the Error.Raise methodand bubble it back up to the server. Check the docs for Error.Raise andthe books online. One caveat is

Searching For 16-Bit DLLs in Windows 95

Windows 95 uses an extra step when searching for 16-bit DLLs. A newregistry key, “Known16DLLs,” in Windows 95 under \HKEY_LOCAL_MACHINESystemCurrentControlSetCon-trolSessionManagerfunctions in a similar way to KnownDLLs in Windows NT. Known16DLLs

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

Shortcut for 16/32-bit Development

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

Regarding “Validating Numeric Input”

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

Table Checker

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

Placing A Combo Box Onto A Toolbar

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

Print a Single Sub or Function

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