Tip Bank

DevX - Software Development Resource

Retrieving PC or System Information

To retrieve PC or System information (things like the operating system, domain name, logical drives, IP address, or environment variables), use the System class and the Environment class. List of

DevX - Software Development Resource

Determine Whether a Value is Numeric

JavaScript has a built-in function called isNAN that can be used to check if a value is numeric or not. The isNan function returns true if the value is not

DevX - Software Development Resource

Range Checking Vectors

This standard library vector can be used like an array. For example: std::vector v(2); // vector of size 2v[0] = 5;v[1] = v[0]; If you’re using an out-of-range index, the

DevX - Software Development Resource

Rename a File Using Java

Java allows you to rename a file by using the renameTo(File file) method, in the java.io.File class. First, obtain a reference to the file that you want to rename. Second,

DevX - Software Development Resource

Date Formats for the DATE Data Type

SQL Server offers two date formats for the DATE data type that are considered safe in situations where computer settings differ or when SET DATEFORMAT or SET LANGUAGE are used.

DevX - Software Development Resource

Compatible Stylesheets with xsl:fallback

The following code is an example of how to use the xsl:fallback element to achieve full compatibility between XSLT different versions. Imagine that some future 5.0 version of XSLT implements

DevX - Software Development Resource

Disable the Standard Window Close (X) Button

This code disables the standard Window Close (X) button on the upper right corner of Windows forms: Private Const SC_CLOSE As Integer = &HF060Private Const MF_GRAYED As Integer = &H1