Tip Bank

DevX

Unload Forms

This will unload all forms in memory before the calling form is unloaded. Not only does this unload each form, it also fires each form’s unload event, allowing for a

DevX

Registering Custom Interfaces

When the object exposes the custom interfaces via standard marshalling, the proxystub DLL is required for marshalling data across the threadprocessescomputer boundaries.The interfaces are specified in an IDL file that

DevX

Convert an Input String Into a Proper String

If you want to convert the input string into a proper string usingjavascript, this is a simple function that will perform the task: String.prototype.ProperCase = function() { return this.substr(0,1) .toUpperCase()

DevX

Basic Event Logging

Any production application should include event logging for troubleshooting and auditing purposes. This code can be placed in any module and called whenever you have an error or event that

DevX

Maximum Number of Columns Allowed

Question: What is the maximum number of columns allowed in an Informix table? Answer: For Informix 7.3X, the maximum number of columns in a table is 2,767.

DevX

NetUserGetInfo – API Call

Question: I am using “NetUserGetInfo” API call to get the NT user profile. I use: typedef struct _USER_INFO_3 How can I parse the “usri3_flags” member in detail? Answer: Use this:

DevX

GetPrimaryDCName

Question: I’m trying to get the PDC name for a domain on my network using the following code. It works fine within the VB IDE, but the moment I compile