









Give Descriptive Error Messages to the User
Error messages should be passed on to users so that they are always aware of the problems they have encountered and will perform the requested actions. Although you cannot use
Error messages should be passed on to users so that they are always aware of the problems they have encountered and will perform the requested actions. Although you cannot use
By default, all static variables, structs and arrays are automatically initialized to binary zeros before program’s outset. Likewise, static objects are initialized to binary zeros before their constructor is activated.
Although the string class is very convenient for most string manipulation operations, it may be necessary sometimes to copy the contents of a string to a different container, e.g., in
If you don’t want users to navigate to another URL when they click on a HTML link in an anchor tag, you need to create a Null HTML link in
Sometimes it’s useful to trap the right click over controls such as CommandButton. Unfortunately, the Click event only fires for left button clicks. The MouseDown and MouseUp events fire for
Prior to VB5, when you wanted to make a form appear on top of another form, you either made it modal or used an MDIForm with children. If you wanted
To prevent losing the ability to maintain binary compatibility with compiled object code, take the first compiled build and move it into a separate directory, then tell VB to maintain
The typical method of validating multiple expressions is to string together a series of If statements separated with an equal number of And statements. Shorten that process by passing one
If you need to get a Web page visitor’s IP address in your ASP script, it