May 1, 1999

What are Lvalues and Rvalues?

An object is a contiguous region of memory storage. An lvalue (pronounced: L value) is an expression that refers to such an object. The original definition of lvalue referred to “an object that can appear on the left-hand side of an assignment.” However, const objects are lvalues, and yet they

Specify a Maximum Cost for a Query in SQL Server 7

Ever had a user accidentally create a query that resulted in a Cartesian product of your two largest tables? Of course, a badly written query uses up precious CPU and I/O cycles and therefore slows everyone down. With the advent of SQL Server 7, you can specify a maximum cost

Loading Resources With the getResource() Method

Most nontrivial applications are packaged with “resource files,” which are nothing more than files used by the application for various purposes. Some examples of these resources include image (GIF, JPEG) files, message/text data, configuration/initialization information, and so on. There are several of ways to read these resources, but most of

Add Unsupported HTML Attributes in Visual InterDev 6 Objects

While the Visual InterDev 6 Scripting Object Model (SOM) is great for rapid development of Web sites, the SOM doesn’t support all HTML attributes. For instance, the SOM doesn’t support Navigator’s wrap=virtual attribute in the Textarea tag. Although editing the VID script libraries is a bad idea, there’s nothing to

Fast String Array Load and Save

VB6 offers a couple new string functions that work with string arrays. One of these new string functions, Join, concatenates all the items of an array into an individual string using the delimiter string of choice. This builds a routine that quickly saves the contents of a string array to