
Retrieve File Version Information
Win32 file images can contain a file version resource that stores product and version information about the file. The version num-ber is actually four 16-bit values typically displayed using dot
Win32 file images can contain a file version resource that stores product and version information about the file. The version num-ber is actually four 16-bit values typically displayed using dot
Testing a business rule should have no side effects. Avoid err.raise and msgboxes inside business rule tests.Consider this example: public const kMinimumApplicantAge = 18 ‘declared in common modPublic Function IsApplicantAgeEligible(DOB
The following code is an efficient, flexible, system-setting-independent procedure. MonthNames is either a listbox or a combobox. If StartMonth is greater than EndMonth, the list of month names will be
If you find the need to put the monitor into rest, you can do so using the following example: Create an standard EXE project Add a CommandButton to Form1 Insert
‘ Return the minimum value in an array of any type” FIRST and LAST indicate which portion of the array’ should be considered; they default to the first’ and last
While designing a database in Access 2000 recently, I decided the most intuitive way for my users to be able to look at the data they wanted was to let
When creating ActiveX components, an easy way to test them is to add a module to the project (see the code below). In this module you can write methods that
Const HKEY_LOCAL_MACHINE = &H80000002′ modify the name and path of the external HTML editor’ configured in the Tools|Options|Advanced tab” Changes apply immediately (no need to restart VB)” Requires the SetRegistryValue
Const HKEY_LOCAL_MACHINE = &H80000002′ Return True if the system has a math processor” Requires the CheckRegistryKey routineFunction CheckMathProcessor() As Boolean ‘ if a math processor exists, Windows creates ‘ the