The Latest

DevX - Software Development Resource

When Snapshot Isolation Helps and When It Hurts

ou know SQL Server 2005’s new snapshot isolation feature can help you reduce lock contention and deadlocks, but did you know that it also can help you fix intermittent errors

DevX - Software Development Resource

Web Control Enhancements in ASP.NET 2.0

‘m sure by now you’ve read more than your share of books and articles describing new ASP.NET 2.0 features. Master pages, themes, providers, etc., are all great, but have you

DevX - Software Development Resource

Determine which Proxy Pattern You Need

The proxy pattern can be used in situations where multiple copies of a complex object must exist. In order to reduce the application’s memory footprint in these situations, you create

DevX - Software Development Resource

Reverse Engineer .NET DLLs

If you’ve ever wanted to know how something in the .NET Framework does what it does, check out .NET Reflector. This awesome utility will reverse engineer compiled .NET dlls back

DevX - Software Development Resource

Printing an HTML Page in Landscape Mode

JavaScript does not allow you to set the page orientation so you can print in Landscape mode. To workaround this limitation, simply add the following code to the … part

DevX - Software Development Resource

Using Enterprise Library in ASP.NET 2.0 Partial Trust Mode

lthough originally envisaged as a product for use in Windows Forms (executable) applications, Enterprise Library is proving popular with Web application developers as well. For example, the Data Access Application

DevX - Software Development Resource

Prevent Stale DB Connections with the Latest OC4J

hen building a large-scale J2EE/Java EE application, developers have a few options for establishing database (DB) connectivity from EJBs, including handling it transparently using a J2EE data source, or encapsulating

DevX - Software Development Resource

Avoid DLL Hell with Registration-free COM

eusable, dynamically linked components are generally a good idea, because they allow you to leverage code and save memory rather than reinvent the wheel. But with thousands of developers leveraging

DevX - Software Development Resource

Using auto_ptr

Suppose that a function normally allocates memory for an object, uses it, and then deallocates the memory. But if the function exits before reaching the end, either because of a

DevX - Software Development Resource

Placing Multiple Headers in a DataTable

A DataTable can only handle one header for each column. The workaround for this is to use two tables. Generate the first table at the same time as the DataTable

DevX - Software Development Resource

Book Excerpt: The Java Tutorial, Fourth Edition

he Java Tutorial is hands-on Java programming language guide that is perfect for any developer looking for a proven path to proficiency with Java SE. This popular tutorial “from the

DevX - Software Development Resource

Use XSL-FO to Obtain a Page Number

This tip shows you how to use the fo:page-number and fo:page-number-citation elements to insert page numbers. To insert page numbers in your page’s footer, use fo:static-content: Page [] of []

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

Optimizing OpenGL ES Applications for Brew

ualcomm’s support for OpenGL ES makes 3D graphics development for today’s wireless terminals much easier than ever before. With an interface that’s standard across a wide variety of platforms including

DevX - Software Development Resource

Beautify Your UIs with Perfect Pen and Brush Control

f you’ve done any Windows graphics programming at all, you know about Pens and Brushes. Pens determine the characteristics of lines, such as color and thickness. Brushes determine the characteristics

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

Detect Web Form Field Changes in ASP.NET

nowing whether a group of form fields have changed and which fields have changed can be beneficial in many ASP.NET Web applications. ASP.NET triggers a “value change” event at the