devxlogo

August 21, 1999

Create a owner form with API functions

Starting with VB5, the Show method supports a second optional argument, that lets you specify which form owns the form that is about to be displayed: Form2.Show , Me A

Determine whether an API function is available

In many cases you may want to call an API function, but you aren’t sure whether the Windows version the application is running on supports that particular function.The easiest way

Use Currency instead of LARGE_INTEGER values

A few API calls require that you pass one or more LARGE_INTEGER arguments. These are 64-bit integer values, defined as follows: Type LARGE_INTEGER lowpart As Long ‘ lower 32-bit value

Use ActiveControl to stop a loop

Often your user interface includes fields whose contents mutually depends on other fields. A typical example is when you deal with conversions from one measurement unit to another. Let’s say

Quick Property Edits

When you are placing controls on a form at design time and wish to edit one of its properties, the quickest way to switch to the Property window is pressing