devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

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

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

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

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

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

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

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

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

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

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

Short Expressions

C++ has an alternative for the if condition using the sign “?”. The syntax for this condition is : “condition”?”case true”:”case false”. For example, a function to return the maximum

Save a Round Trip to the Database

Save a round trip to the database when a keyed item is selected from any list type. This example uses a combobox, but any type of list control that accomodates

SlickEdit Studio: An IDE in the Rough

arket trends are a dominant factor in the evolution of IDEs. 15 years ago, syntax highlighting and extensive online help were all the rage; in the late 1990s, it was

Design Resilient Business Objects with MS DAAB

ike most DevX readers, anticipating change is an important part of my job. As a software developer and system architect, it is particularly important that I make sure our middle-tier

Extend Your J2EE Applications into Web Services

any view Web services as the backbone to a new generation of cross-platform, cross-language distributed computing applications. In fact, Sun defines Web services as “a well-defined, modular, encapsulated function used

Enhance the Appearance of Your Web DataGrid

One way to enhance a Web DataGrid’s appearance is to alternate the background color of the row. This requires only two lines of code. For example, to display an even

XDoclet Meets Eclipse: Code Generation Made Easy

Doclet is a code generation engine that enables a concept known as Attribute-Oriented Programming. To use XDoclet, a programmer adds metadata (attributes) for classes and methods within the JavaDoc for

Free Your C# Apps from .NET Platforms

ainsoft’s Visual MainWin is a revolutionary product that allows you to develop applications in C# and deploy and run them on J2EE application servers (for a detailed review, click here).

Create a Sortable Column Dynamically

There are times when sorting your resultset by the primary key doesn’t accomplish what you need. One way to get around this is to create a sortable column dynamically in

USE API Programming to Determine Whether a File Exists

Put this code in a BAS Module: Public Const INVALID_HANDLE_VALUE = -1Public Const MAX_PATH = 260Public Type FILETIME dwLowDateTime As Long dwHighDateTime As LongEnd TypePublic Type WIN32_FIND_DATA dwFileAttributes As Long

Change the Look and Feel of a Java Application

Use the following code to give your Java app a Windows look and feel: UIManager.setLookAndFeel(“com.sun.java.swing.plaf.windows.WindowsLookAndFeel”); Ensure the class “com.sun.java.swing.plaf.windows.WindowsLookAndFeel” isin your jvm bootstrap classpath. Mostly it can be found in

Fix Up Your HTML with HTML Tidy and .NET

ou may never have heard of it, but HTML Tidy isn’t new. HTML Tidy is a once-free but now open source application. It was originally written in C as a

Recover Dropped Tables in DB2

lot of ugly things can happen in the early morning hours when you are frantically trying to meet a deadline. For example, your mind can falter for a split second

Object Instance Comparison

Sometimes you need to know if is a specific instance of an object, is the one you’re looking for.objptr() provides a nice VB-ish way to compre object pointers. So, you