The Latest

DevX - Software Development Resource

The HTML 5 Layout Elements Rundown

TML 5 is an interesting beastie. The specification was not planned; The W3C was committed to HTML 4.1 as the last word in HTML. As such, most of the requests

DevX - Software Development Resource

Returning Zero-Length Arrays in Java

It’s best not to return null from a method that returns an array type. Always returning an array, even if the array has zero length, greatly improves the generality of

DevX - Software Development Resource

RegEx.Split vs. String.Split

The String.Split method has few limitations. For example, it does not support splits on duplicate delimiters such as double pipe (||) characters, double tildes (~~), or double colons (::). The

DevX - Software Development Resource

Selecting Sort Order at Runtime

You can select which column to sort a SELECT statement by at runtime, using just one parameter. To do this, declare one parameter and use it with a CASE command.

DevX - Software Development Resource

A Taste of JavaFX for the Uninitiated

avaFX is a scripting language that provides built-in properties for manipulating objects within a 2D coordinate system. A competing technology to Microsoft’s Silverlight, JavaFX provides the tools to fill and

DevX - Software Development Resource

Solving Eclipse (Ganymede) and PermGem Out-of-Memory Errors

First, launch Eclipse with increased memory options, which you can do as follows (increase these values as needed, but don’t exceed your available memory): eclipse.exe -vmargs -Xmx512M -XX:MaxPermSize=256M Sometimes, the

DevX - Software Development Resource

Determine Which Session Is Blocking All Users in Oracle

You can find out which session is causing blocking problems using this SQL command: SELECT blocking_session, sid, serial#, wait_class, seconds_in_wait FROM v$session WHERE blocking_session IS NOT NULLORDER BY blocking_session; Related

DevX - Software Development Resource

Open Any File from Code

Using the following code snippet you can run any application (such as Word, Excel, etc.) or open any file whose extension is associated with an application, such as .doc, .txt,

DevX - Software Development Resource

Generating Microsoft Office Documents with the Open XML SDK

evelopers have worked with Office documents for years, primarily word-processing documents, presentations, and spreadsheets. While the various Microsoft Office applications have provided built-in support for creating and modifying Office documents,

DevX - Software Development Resource

Keep Software Simple

n the course of my consulting, I have reviewed numerous applications from many companies?and often find areas where the software was just too complex. The reasons for this are varied,

DevX - Software Development Resource

Simple Script to Run Java Applications on Linux and Windows

Unlike C/C++ compilers that produce binary executables, Java produces bytecode. Running bytecode can be difficult for regular users, particularly when the application requires external libraries. There are several solutions to

DevX - Software Development Resource

Fast Way to Create and Send Email

An easy way to create and send email in VB (or any other language) is to use the “mailto:” protocol that already works on client computers. The technique makes a

DevX - Software Development Resource

Make Web Requests Programmatically in .NET

You can use the code in this tip to make web requests to a remote HTTP server and read the response: try{ // The URL http://www.microsoft.com/en/us/default.aspx // is used here

DevX - Software Development Resource

Sending E-mail from SQL Server 200X

ending email from SQL Server can be a useful way to keep yourself or the system’s administrator informed of any errors and alerts, but depending on your version of SQL