devxlogo

Tip Bank

A .NET Assembly Log Viewer

This utility tool logs the information when you build the assembly and is packaged along with the .NET Framework Tools. It allows you to view all the assembly bindings in

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

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

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

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

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

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 []

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