The Latest

DevX - Software Development Resource

Turning Recursive and Nested Triggers On and Off

To check whether nested triggers are turned on or off in SQL Server, issue the following command in Query Analyzer: EXEC sp_configure ‘nested triggers’ If the run_value is 0 then

DevX - Software Development Resource

Master Advanced List Editing in SharePoint

harePoint’s built-in tools are good at providing a basic interface for adding and editing data, however, there are times when the included editing features aren’t enough. There are applications where

DevX - Software Development Resource

Creating Windows Starter Kits for Visual Studio 2005

n the days of ASP.NET 1.x, Microsoft first created ASP.NET Starter Kits to help developers jumpstart Web development. ASP.NET Starter Kits are sample ASP.NET applications that provide code as an

DevX - Software Development Resource

Presenting Dates in Varying Formats

Dates are generally a requirement for every application. However, including dates for users across the globe can be tedious, because different people use different formats to read the date. Oracle

DevX - Software Development Resource

Getting New Values Entered into a Table

Suppose you are writing a row-level trigger Z on a table X to update an audit table Y with information about inserts into X, and you need to know what

DevX - Software Development Resource

Porting Code from Windows to Linux

This tip provides a substitute for the __strrev function, because it’s not available under Linux. This is useful if you are porting existing code from Windows to Linux. Suppose you

DevX - Software Development Resource

Working with Windows Workflow Foundation in ASP.NET

n September of 2005, Microsoft unleashed Windows Workflow Foundation (Windows WF) at its semi-annual Professional Developer’s Conference. As one of the pillars of the WinFX APIs, Windows WF provides developers

DevX - Software Development Resource

Eliminate Log Messages on the Console in JDK 1.4

If you’ve ever used the built-in logging facilities introduced in JDK 1.4, you’ve certainly faced a situation wherein you wanted to prevent log messages from appearing on the console. The

DevX - Software Development Resource

How To Copy Database Data Using JDBC

f you work with databases, you’ll often need to copy data from one database to another. While that sounds like a straightforward task, it often involves more than just a

DevX - Software Development Resource

XMI: Capture UML Associations Using C#

n this article you’ll see an exciting use for XMI?reading the connections between two server nodes in a UML diagram using C#. While my last XMI article collected information about

DevX - Software Development Resource

Revisiting Heterogeneous Containers

ive years ago, I explained how to simulate heterogeneous containers by storing raw pointers to polymorphic objects in an STL container. C++ has come along way since: tuples now allow

DevX - Software Development Resource

The Remove_if() Algorithm

If you are familiar with the remove_if() algorithm, you’re used to applying remove_if() followed by erase(). For example, suppose you’re given a predicate to determine whether a number is even:

DevX - Software Development Resource

Resolve DB2 Instance Creation Failure on UNIX

On AIX, and UNIX in general, DB2 instance creation fails with vague errors: Update DBM cfg SYSADM_GROUP errcode = 8DBI1281E The database manager configuration file could not be initialized. Explanation:

DevX - Software Development Resource

Extract JAR and ZIP Entries with JarURLConnection

Use the following code to extract JAR and ZIP Entries with JarURLConnection: import java.net.*;import java.io.*;import java.awt.*;import java.util.*;import java.util.jar.*;class read extends Frame{URL url=null;JarURLConnection URLcon=null;JarFile jar=null;TextArea TA=new TextArea(15,35);public read(String titlu){ super(titlu);}void init(){

DevX - Software Development Resource

Combine Multiple .NET Assemblies into One

You can use Microsoft’s ILMerge tool to merge .NET assemblies?even those written in different .NET languages?into a single assembly for easier distribution, something that’s not possible using Visual Studio alone.