devxlogo

The Latest

Suppress Logs from Libraries

How many times have you tried to get rid of the intrusive log messages from the API you’re using? The solution is easy: in your log4j configuration file, just include

Scaling and Hit-Testing in Ink Applications

t’s common in imaging applications for images to be displayed at different sizes. If such images are annotated with Ink, it’s necessary for the Ink to be scaled to the

Data Access for Partially Connected Applications

ll but the simplest applications store data in a central location and access it over a network. However, in many scenarios, distributed applications cannot assume a certain kind of network

Printing an Object in Java

When you use System.out.println( ) by passing an object as an argument, the JRE invokes its toString( ) method by default. If you haven’t overridden this method, then you end

Determining Who Has Opened a Shared Folder

Ever forgot to un-share a folder that you shared with a colleague or friend? Ever forgotten the path of a folder that you shared? Want to know who has opened

The Pros and Cons of Virtual Machines in the Datacenter

y organization has been using VMware and Xen virtualization products for a few years for several purposes, including testing of new software configurations, development, and consolidation of production servers. We

The Developer’s Guide to Building Virtual PCs

irtual PCs are extremely useful for development, testing, and setting up deployments that require applications to be isolated from one another. During the past year or so, I’ve built more

A Developer’s Eye View of Virtual Machines

n a world of multiple operating systems, each with various versions, no developer has the luxury of building applications for only one target configuration. Every developer needs to ensure that

A Link to LINQ

ML, Arrays, DataSets, database tables, collections of all types?all these have a common attribute; they are data stores that hold sets of data values or objects grouped together for some

Introduction to Tablet PC Development

f you are familiar with development on PCs using Microsoft’s tools, you already know most of what you need to develop for Tablet PCs. The main addition in the Tablet

The Modern World of Mobility

recall my first laptop computer. During my first year of college, I purchased an NEC laptop from my college advisor, Art Sanchez. This computer was sweet. Here’s the list of

Welcome Letter from the Tablet PC Team

Welcome to the CoDe Magazine Focus issue on Tablet PC and Mobile PC application development. On behalf of the Mobile PC Business Unit at Microsoft (see Figure 1), I’d like

Protecting Freed Memory

When you’re freeing memory, remember to set the memory contents to 0 so no other malicious program can read it after it’s been freed. //For example#define DATA_SIZEBOOL function(){ char pszData