The Latest

DevX

3D Graphics Made Easier with OpenGL ES for BREW

penGL has long been a standard interface for 3D graphics development. Developed by SGI, its only real competitor today is Microsoft’s Direct3D. Unfortunately, until recently there’s been no mobile analogue

DevX

Gain Architectural Control with Windows Workflow Foundation

icrosoft Windows Workflow Foundation (WF) consists of a programming model, an engine, and several tools for building workflow-enabled applications. The programming model resides in the System.Workflow namespace of Microsoft’s .NET

DevX

Building Robust UIs in Mono with Gtk#

ust as Microsoft provides a native desktop UI toolkit called Windows Forms that ships with Microsoft .NET, the Mono project provides a compatible implementation of this same API, making it

DevX

Use a Macro to Improve Your Debug Output

Frequently, and especially during development and debugging, you want to write out the values of a variable. To distinguish these variables, label them by putting this directive in: #define PUTOUT(x)

DevX

Hiding Columns in a DataGrid

Using the column index to hide columns in a DataGrid can pose a problem if the index changes. Here’s a quick workaround for when the columns are auto-generated. Using column

DevX

Monitor .NET Code Quality with FxCop and Custom Rules

XCop is a free code analysis tool (open source) from Microsoft that analyzes managed .NET assemblies. .NET assemblies contain metadata entries that describe the assembly and all its contained types.

DevX

Turning RFID Data into Information

hen designing an RFID system, you should first understand and consider two key aspects of turning RFID data into useful information. First, you need a way to convert the raw

DevX

Ping with J2SE 1.5.0

The following code shows you how to simulate the “ping” command with the J2SE Tiger InetAddress.isReachable method. import java.io.*;import java.net.*;public class reachable{ public static void main(String args[]) { String[] addrs=

DevX

Using the java.lang.reflect.Modifier Class

You know that you can extract constructors, methods, and variables from a Java class file. Generally, when you use Field fields[] = c.getDeclaredFields( ); where c is initialized using Class

DevX

A Quick Way to Copy DataRow

Instead of copying DataRow column by column, the following code copies data in one line from the source to the destination row: DataTable dtDest = new DataTable();dtDest = dsActivity.Tables[0].Clone();foreach(DataRow dr

DevX

Retrieving a Single Value from a Database

This PHP function pulls a single field from a single record in the database once the MySQL connection has already been established: function getField($field, $tbl_name, $condition = 1){ $result =

DevX

Read and Write Strings Using String Streams

String streams allow reading and writing strings just like cin and cout allow reading standard input and writing standard output. String streams may be used by including . Reading from

DevX

Nine ASP.NET Site Navigation Problem Solutions: Part 2

art one of this series introduced the first seven common site map navigation problems and their solutions. This part explores more advanced techniques with the final two problems: Hiding unauthorized

DevX

XLinq Part 2: Using Standard Query Operators

n Part 1 of this article series, you looked at XLinq’s ability to create, modify, and delete XML data. Building on that background, this installment focuses on XLinq’s query features,