devxlogo

The Latest

Programming Team Foundation Server with the TFS SDK

hen working with Team Foundation Server (TFS), teams typically work on team projects, which are source-controlled collections of projects that let a manager track and assign individual tasks, called “work

Add an AutoIncrement Column to a DataTable

Adding an AutoIncrement column to a DataTable is quite simple: When you create a DataColumn, set its AutoIncrement property to true. The following code demonstrates: DataColumn posId = table.Columns.Add(“PositionId”, typeof(int));posId.AutoIncrement

Adding Custom Attributes to HTML Elements

A custom attribute is any user-defined attribute, just like other primitive HTML element attributes. You can add custom attributes to any HTML element. For example, suppose you wanted to add

Associate a ServerSocket with a ServerSocketChannel in an NIO App

This tip shows you how to create a ServerSocketChannel, to which you’ll then associate a standard ServerSocket: //create the ServerSocketChanneltry{ serverNIO=ServerSocketChannel.open(); serverNIO.configureBlocking(false); }catch(IOException e) {System.out.println(” Error: ” + e.getMessage());}//indicate the

Reliable Sessions Made Simple with WCF

he ACME Toothpick Company recently implemented two transactional Windows Communication Foundation (WCF) services to integrate their toothpick manufacturing and log inventory applications. A third application, the ACME Manufacturing Manager (AMM),

Invoke RESTful Web Services from JavaFX

avaFX, a new Sun Microsystems product family (including a scripting language, JavaFX Script), is optimized for implementing rich Internet applications for desktop and mobile devices. It comes bundled with the

WPF Wonders: Properties and Events

hen Microsoft’s developers invented WPF, they made some fundamental changes in the way things work. Two of those changes redefine the fundamental nature of properties and events. To replace the

Socialize Your Flash Game with OpenSocial

here are many creative Flash games on the Internet. Most of them are single player games that are deployed on social networking sites such as Facebook or Myspace. This article

How to Use Properties Files in Java

In Java, you can easily create and use a properties file containing name/value pairs. First, make a .properties file?name it Properties.properties. Place key/value pairs such as name = java in

Truncate a Path String

Sometimes you need to truncate a long path string to make it fit in a control. Currently, there is no .NET class that provides this functionality. The workaround is to

Speed Up Project Delivery with Repeatability

very environment has them: The dreaded manual tasks that drain productivity from the team and add instability to the processes. We usually dedicate only half our brain power?and never enough

JavaFX Team Answer the Eager and the Skeptical

Conducting an interview via email can be very convenient. I can formulate my questions exactly the way I mean them (avoiding my propensity for rambling), and the interviewee has the

Lambda Functions Are Ready for Prime Time

our years ago, I presented a pioneer proposal for adding lambda expressions to standards C++. The lambda proposal has since undergone significant revisions and enhancements. In their new form, C++0x

Creating Hierarchical Data Structure Mashups

NSI SQL can naturally perform full multi-path hierarchical data query processing that far exceeds the single linear path processing performed by XPath and XQuery today (see the article “Navigationless Database

Location-Based Services Using CellID in Android

n earlier article about Android showed you how to interface with GPS receivers to obtain the geographical position of a device. However, not all today’s mobile devices have built-in GPS

How Y!OS Unifies and Expands the Yahoo Ecosystem

As Chief Architect of Platforms at Yahoo, Neal Sample is responsible for defining the technical design for the Yahoo! Open Strategy initiative. Y!OS is a platform that enables third-party developers

Beginning F#: Card Tricks

hen attempting to learn a new computer language, it’s difficult to find a problem that’s both interesting enough to bother working with and also simple enough to let you concentrate

WPF Wonders: Getting Started with WPF

indows Presentation Foundation (WPF) has been around for a couple of years now but there are still plenty of developers who don’t really know what it’s all about. Some think

Using the Final Keyword in Java

Contrary to popular opinion, the compiler cannot safely inline methods that have been declared as final. This is because these methods may have non-final declarations at runtime. For example, suppose

Trimming Items in a String Array

When you use a For Each loop to iterate through a String Array and perform some action with each item, the change doesn’t affect the String Array itself. Consider the