devxlogo

January 20, 2000

Maintain Call Stack for Error Tracing

I program all reusable components into DLLs or OCXs. To provide a consistent error-handling technique across all my projects, I use the Raise method of the Err object in all

Fill In the E-Mail Fields

ShellExecute is one of the most flexible Win32 APIs. Using ShellExecute, you can pass any filename, and if the file

Let Users Resize Your Controls

You can allow users to resize a control?just like in VB design mode?with a mouse, using two simple API calls. You can resize the control?top-left, top, top-right, left, right, bottom-left,

Have Your Functions Both Ways

When you create generic functions, remember that many functions are a two-way street. For example, many general utility modules contain both LoWord and HiWord functions. However, to compose a Long,