devxlogo

The Latest

Heard on .NET Rocks!: Kimberly Tripp on SQL Server

am the host of “.NET Rocks!”, an Internet audio talk show for .NET developers online at www.dotnetrocks.com and msdn.microsoft.com/dotnetrocks. My co-host Richard Campbell and I interview the movers and shakers

Visual Studio 2005 … That Legacy Software!

dmittedly, I’m excited about the many new technologies coming out of Microsoft. So excited that I can’t even decide what to play with first! I wrote about this in a

Wasting Energy and Rotating Things

‘m guessing that there’s someone out there (there has to be at least one) who cares how the home theater turned out. (For some of the details, check out the

Axes and Imagination

aybe you’ve heard the tale of two woodsmen. They both have the same job and job ethic. They begin their shifts at 8am and cut wood until 5pm every day.

Speed Up Your AJAX-based Apps with JSON

SON stands for JavaScript Object Notation and is a lightweight data-interchange format. Because it is text-based it is easy for humans to read and write, and it has a regular

Displaying a Local Image in a WebBrowser Control

Instead of using: WebBrowser1.navigate “c:image.gif” Use this: WebBrowser1.navigate “about:” Related Posts Go, Big Data Languages Becoming More Popular, Says IEEEBest Ways to Manage User Facing UIs with Agile PracticesExecute Code

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

Determine Your Network Interfaces and IP Names

Use this to determine the names of your network interfaces and IPs. Of course, it can be used only for machines that have more than one network interface. import java.io.*;import

Compress Binary Messages Using SQL

inary data is natural for computers. Everything running on the computer’s physical layer, in the registers, ALU, memory, and so on, is just a result of manipulating a set of

JUnit Testing Using Java ME JUnit Frameworks

Unit tests have become a staple part of most Java Standard Edition (SE) and Enterprise Edition (EE) applications?especially those that espouse test-driven development. Kent Beck and Eric Gamma’s original Smalltalk

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

Using the unparsed-entity-uri XSLT Function

This tip shows how to insert an image into the result-tree of an XSLT transformation using the unparsed-entity-uri function. Suppose you have this element: And an unparsed entity such as

Using Complex Numbers

The C++ standard library can handle complex numbers. Complex numbers may be used by including . The class std::complex is defined as a template, allowing complex numbers to use different

Using the Logger to Trace JDBC Driver Managers and Drivers

Both JDBC drivers and the DriverManager use the PrintWriter for logging/tracing. Using java.util.Logger as your logging/tracing tool allows you to take advantage of the Logging framework. Create an adapter class

Create a SAXSource with InputSource and XMLReader

One way to create a SAXSource is to use a SAX InputSource and an XMLReader object. The transformer, ContentHandler, calls the XMLReader.parse(InputSource IS) method. Here’s an example: … try{ //get

Object Functions in Use

An object function is a regular C++ object whose class defines the () operator. An object with a () operator can be called like a function: CFoo foo; // just

Using Multiline Strings in .NET Resource Files

Displaying strings from .NET resource files may be a puzzle if the strings include escape sequences. For example, take the newline (linefeed) character. Suppose you want to display a hardcoded

Introducing Domain-specific Languages

oftware Factories are one of today’s new buzzwords in IT. This Microsoft initiative is likely to change the way that developers build software in the near future. The Software Factories