The Latest

DevX

A Practical Approach to Threat Modeling

ecurity is a hot topic these days. It is as if developers and system designers are fighting a never ending war against those who desire to damage hardware, compromise system

DevX

What’s New in Visual Basic 9.0? Part 2

ith the release of Visual Studio 2008, Microsoft has also updated the VB language to the latest version, 9.0. VB 9.0 boasts several key language enhancements that have been made

DevX

Autocomplete Combo Boxes

When you develop an application in Microsoft Access, your combo boxes will, by default, incorporate autocomplete. However, Visual Basic does not include this intrinsic support. If you want autocomplete in

DevX

Trigger Efficiency in Oracle

The documentation for Oracle 9.2 and previous versions contains the following paragraph: “AFTER row triggers are slightly more efficient than BEFORE row triggers. With BEFORE row triggers, affected data blocks

DevX

Exploring Secrets of .NET Diagnostics

iagnostics, also known as “program tracing,” is a crucial?and often overlooked and underappreciated?component of application development. I have long been an ardent believer in diagnostic support, and have written diagnostic

DevX

A Flickr-based Introduction to Ruby on Rails 2.0

nitially released in 2004, the Rails web application framework became the perfect killer application for the Ruby language and an extremely powerful tool for rapidly developing web applications based on

DevX

Determine the Direction of Stack Growth

A simple way to determine the direction of stack growth is to compare the address of a function parameter with the address of a local variable in the function. Of

DevX

Create Your Own Exception

Here’s an example of how to create an exception. You can extend this example as needed for your own applications. The important principle is the exeption’s mechanism, not its subject:

DevX

Ubuntu Eye for the Debian Guy: Running Linux on Linux

ometimes you can stumble upon interesting discovers while actually looking for something else. That happened to me when I decided to try another Linux distribution besides my favorite one: Debian.

DevX

What’s New in Visual Basic 9.0? Part 1

ith the release of Visual Studio 2008, Microsoft has also updated the VB language to its latest version, 9.0. In VB 9.0, there are several key language enhancements that have

DevX

Email All the Exceptions Occurring in an Application

The code below demonstrates a quick way to email all the exceptions that occur in an application: protected void Application_Error(Object sender, EventArgs e) { Exception ex = Server.GetLastError(); MailMessage msgMail

DevX

Passing SAX Events to a FOP Processor

This tip shows a Java application that can be used to pass SAX events to a FOP processor. It uses the javax.xml.parsers.SAXParser class: In demo document: C:Data_LocalxmldocsAirWings_fop.foOut demo document: C:Data_LocalxmldocsAirWings_pdf_sax.pdf*///FOPimport

DevX

Animate Images Along a Path in Web Pages

Use the following steps to rotate the images in your web page: Open Google Image Search. Type, for example, the word “rose” in the search field. The relusts page should

DevX

Building Executive Dashboards with Google Chart

xecutive dashboards are attractive business tools that, if properly structured, typically provide the following information and data to executive decision-makers: Summary information focused on strategic decision-making Information organized for performance

DevX

Build a Shared Clipboard Utility in Python

his article presents the Python shared clipboard—a little utility that allows different machines connected over a LAN to share the contents of their clipboards. While building it, you might learn

DevX

Tricks to Improve Your Brew Handset Debugging

lthough on-target debugging is supported on many Brew-enabled handsets, you probably (paradoxically) spend most of your time debugging on older handsets that don’t have on-target debugging at all. Of course,

DevX

Use Xerces-J to Obtain a Serialized DOM Tree

Suppose you need to serialize a DOM tree, with the result being an XML document. Xerces-J allows you to specify a maximum line length and an indent value. Here’s an