devxlogo

August 7, 1997

Choose Compares Carefully

A straight ASCII compare, such as ‘F “A” < "B"THEN' is much faster then using VB's StrComp("A", "B",1). However, when you use this test to sort an array of strings,

Comparing Long And Short File Names

When you reference files in Windows 95, you may encounter situationswhen you are unsure whether you’re working with a long or short file name.This becomes a problem if you are

Use A Class To Convert Code

In VB3 if you wanted to convert your code from one custom control toanother, there were no options other than changing your code. By writingthe proper class you can make

Move and Resize Controls with Accuracy

Ever tried to align controls just right, or resize them to justthe exact size? It can be tricky with the mouse, and modifyingthe properties can be time consuming. This tip

Create An Access/Quicken-Like Combo Box

This example shows how to make a combo box act like those found in Quickenor Microsoft Access, without using a third-party VBX. As each characteris typed, the elements in the

Handling Long INI File Entries

INI file entries can be so extremely long that the normal way of sizinga string before retrieving the entry may not be sufficient. This most frequentlyis true when retrieving the

Avoid an ODBC Error Referencing SP_Statistics

After opening a record set on a SQL server, this ODBC error occurs: ODBC–call failed. [Microsoft][ODBC SQL Server Driver][SQL Server] (#20001) Attach the SQL Server table and open a record