The Latest

DevX

Programming Serial Ports Using Visual Basic 2005

isual Basic programmers who do networking programming will no doubt be familiar with the MSCOMM control in VB6. For those of us who followed VB’s progression to VB.NET, it was

DevX

Retrieve Records from a Supplied SQL Statement

To retrieve the required field from the table based on the supplied condition, use the following code: Function GetQueryResults(strSql As String, Optional ReadOnly As Boolean = True) _As Recordset Dim

DevX

Run Tomcat with a Security Manager

To run Tomcat with a security manager, you must add your own policy lines to the catalina.policy file?like when you build a SecurityManager. The catalina.policy file can be found here:

DevX

Finding a SQL Server Object

To find a SQL Server object, such as a user table, query the sysobjects system table in the local database. If the database name is unknown, use the following query:

DevX

Speed Up Your SQL Inserts

atabase performance is one of the most critical characteristics of almost any application, and for the developer or DBA it usually depends on how fast they can retrieve data. Hence,

DevX

Using Ink on the Web

he Tablet PC SDK makes it easy to get Ink onto your Web page, but then what? This article walks you through the easy part and then dives into some

DevX

Ruby—A Diamond of a Programming Language?

ave you heard about Ruby? It seems to be a popular topic in software development circles today. This language came to my attention at a Java conference last spring, where

DevX

Avoid Conflict when Using Dates

Suppose you have imported both java.util and java.sql packages into your program and you wish to use a Date class. This would create a conflict because both the packages have

DevX

Clear All the Controls in a Form

Use this code to clear all the controls in a form. ‘ Inputs : Frm – Form to clear’ All – If False, then only those controls whose TAGFIXED will

DevX

An Incremental Search in the .NET IDE

Suppose you want to search for the strings com, comment, and comments in your code. Press Ctrl + I and start typing. The .NET IDE will start searching as you

DevX

Book Excerpt: Python Essential Reference, 3rd Edition

ython is a stable general-purpose programming language used in nearly all application domains by companies such as Yahoo and Industrial Light and Magic. Python Essential Reference, 3rd Edition, is a

DevX

Ink Recognition and Ink Analysis

eing able to take handwritten notes or annotations is nice, but the real power of Tablet PCs comes from the ability to analyze and recognize handwriting written in digital Ink.

DevX

Passing Information Securely Between ASP and ASP.NET

ou can transfer information between systems using ASP.NET in multiple ways; however, many are cumbersome, complicated, or insecure. For example, many data transfer methods pass information in plain text, which

DevX

Tracking Memory Leaks in Java

Most “memory leaks” in Java are caused by references to objects that are no longer needed?if an object is still being referenced, then it cannot be finalized, and the memory

DevX

Selecting One Record Before and After a Value

Suppose you want to select records from a table (say orders from a Northwind database), before and after a certain value (orderid). For instance, one order before and after 10250.

DevX

Playing Multimedia Using BREW’s IMedia API

rom the earliest days of the BREW platform, its designers at Qualcomm have paid close attention to the demands of multimedia presentation. Early versions of BREW supported animated image display

DevX

A Linux Distribution Comparison Matrix

any people have written about the disjunctive nature of Linux distributions?and the problems involved in differentiating among all the various distributions that exist. Questions experts routinely hear are “Which Linux

DevX

Build a Generic Range Class with .NET 2.0

am a big fan of objects. It’s so convenient to work with programming entities that you can ask to do something and they just do it. The shift that we

DevX

Unveiling Windows SideShow

ideShow allows users to remotely control PCs and servers. It allows PCs to create interactive output on devices other than monitors so users can view useful data stored on their

DevX

How Powerful Is Your StAX Parser?

This tip is a simple application that demonstrates the possibilities of your StAX parser by setting the XMLInputFactory properties to true/false. The StAX parser tested in this example is the