The Latest

DevX - Software Development Resource

Install CVsup to Stay Current with FreeBSD

If you have just installed FreeBSD’s ports collection using a CD-ROM, you must upgrade to the latest releases of the ported software you need. If you have just installed FreeBSD

DevX - Software Development Resource

Creating a Python Executable File Using makeExe.py

This file creates an executable file from a Python file specified by the user and writes the new executable to disk. “””makeExe.py- Simple Python script to automate the creation of

DevX - Software Development Resource

Linux Commands: Using the “Manpage”

For newcomers to Linux, the “manpage” is the UNIX/Linux equivalent of the classic DOS question mark (?) command-line parameter. It shows you information about the command. To see the manpage

DevX - Software Development Resource

High-volume Transaction Processing in J2EE

o you thought batch programming had died and gone the way of the COBOL dinosaur. Think again. Despite the trends toward real-time solutions, companies still run essential business processes using

DevX - Software Development Resource

Expand Your VB6 Printing Repertoire—Part III

n the past two 10-Minute Solutions, you’ve explored the basics of printing with VB6 and built a very simple text editor with print and preview capabilities. Now, learn how to

DevX - Software Development Resource

Convert Your Data to Decimal/Integer Value

Generally speaking, the data you’re being asked to process most likely has not been input in the format you need. It comes in hexadecimal, octal, or even in binary formats.

DevX - Software Development Resource

Static Variable Declarations in Header Files

Ever declared a static variable in the header file at the file scope and had it introduce completely different behavior than you thought it would? This is because when you

DevX - Software Development Resource

Capturing Key States from a Non-active Window

Sometimes you need to determine whether a particular key is pressed or not?even though the application is not active. “GetAsyncKeyState” comes to the rescue. This function takes a virtual key

DevX - Software Development Resource

Check for Duplicates in an ArrayList

This is a simple method to check for duplicates in an ArrayList: checkDuplicate : Methodpublic static boolean checkDuplicate(ArrayList list) { HashSet set = new HashSet(); for (int i = 0;

DevX - Software Development Resource

Send an Exception to a JSP Error Page from a Servlet

Use this code to explicitly send an exception to the JSP error page from a servlet: public void doPost(HttpServletRequest request, HttpServletResponseresponse) throws ServletException, IOException { … //Create your exception Exception

DevX - Software Development Resource

Asynchronous Windows Forms Programming

indows Forms applications often require some sort of asynchronous invocation option. You rarely want to block the user interface while a lengthy operation executes in the background. Windows Forms pose

DevX - Software Development Resource

Never Give Up

‘m writing this editorial in early 2004. Yes this is the March/April issue but I see January out my window. Like many people, I made a new resolution for the

DevX - Software Development Resource

Dances with Vacuums

his past Christmas, my wife Joy asked me for a Roomba. For those of you who don’t know, Roomba is a miniature robotic vacuum cleaner that looks like a motorized

DevX - Software Development Resource

Give Your Forms a Base

reat Windows applications have a consistent user interface. As users learn how to work with one form in the application, they can leverage that knowledge to work with other forms

DevX - Software Development Resource

Managing Processes in .NET

ave you ever wanted to manage processes in Win32 code? When it comes to this, there’s good and bad news. On the good news side, you can do virtually everything

DevX - Software Development Resource

Optimize Your Member Layout

s we all know, premature optimization is considered evil as it often entails eventually useless design complications and portability compromises. However, this doesn’t mean that healthy programming habits should be

DevX - Software Development Resource

Displaying a Value in a Listbox Control

First, bind a data control with the listbox. When you’ve bound a listbox control to a field within a recordset, the control will display the value in the field only

DevX - Software Development Resource

Using Static Imports

This feature is new in the JDK 1.5 and is intended to reduce the Java app verbosity. Static imports allow you to put into scope a set of methods and

DevX - Software Development Resource

Add Boolean Searches to Your .NET Applications

ontent searching has moved into the spotlight over the past decade. A technology that was once the province of academics and researchers has become mainstream business via successes by Alta

DevX - Software Development Resource

Java in Play

‘ve been trying to come up with any reason to criticize the participants in last Friday’s big news that made uncommon bedfellows out of archrivals Microsoft and Sun Microsystems. But