devxlogo

June 5, 2001

DevX - Software Development Resource

WindowsBuildNumber – Get operating system build number

Private Type OSVERSIONINFO dwOSVersionInfoSize As Long dwMajorVersion As Long dwMinorVersion As Long dwBuildNumber As Long dwPlatformId As Long szCSDVersion As String * 128End TypePrivate Declare Function GetVersionEx Lib “kernel32” Alias

DevX - Software Development Resource

Why You Shouldn

There are fundamental incompatibilities between the ways AWT and Swing draw themselves. Swing classes are pure Java classes that look the same on all operating systems. AWT Java classes are

DevX - Software Development Resource

Debugging the OCX, DLL, or EXE

The same code can be used for debugging either in development or in production environments. To do so include the following subroutine in the module: Private Sub ShowMessage(msg As String)

DevX - Software Development Resource

Creating Controls through Coding

This tip is useful for when you are going to make software with a huge facility in which users will have rights to create their own database fields. When a

DevX - Software Development Resource

The Protected Modifier

A protected feature of a class is available to all classes in the same package, just like a friendly feature. Moreover, a protected feature is available to all subclasses of