Tip Bank

DevX

Concise CSS Font Definitions Save Space and Time

When defining a style with multiple font properties, you can save space and enhance readability by collapsing the font attribute values into a concise notation. A restriction of using this

DevX

Trademark HTML Entity not Universally Supported

Web authors have come to depend on HTML entities (those strings that begin with & and end with ;) to represent special characters (from ISO 8859-1 Latin-1). Microsoft Internet Explorer

DevX

Sizing ASP Script Engine Cache Appropriately

To squeeze maximum efficiency out of Internet Information Server (IIS) 4.0, you may want to look at the amount of cache provided to each ASP thread. The default value for

DevX

Pre-construction Initialization

Java provides a construct that offers functionality similar to inline functions in C++. In Java, this feature is provided by static intializers. Static initializers are blocks of code within a

DevX

Methodological Unimplementation

Designing a class for an application involves identifying and defining its behavior and state. The behavior is defined in the form of methods that the class provides. Often, in the

DevX

Set the ListIndex Without the Click Event

If you set the ListIndex property of a list-box or combo-box control, VB might generate an unwanted Click event. Instead of writing code to bypass the Click event, use SendMessage

DevX

ReDim the Right Array!

Many VB programmers use the Option Explicit statement to make sure each variable has been explicitly declared before using it. This means you’ll always notice a misspelled variable, which if

DevX

Clearing the Contents of a String

To explicitly erase the contents of a string object, you can use the member function erase(): void f(){ char key; string msg = “press any key to continue”; cout