The Latest

DevX

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

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

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

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

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

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.

DevX

Custom Web Controls Demystified, Part 1

hen ASP.NET was released in 2002, it gave Web developers a whole new design paradigm to work with; one that varied greatly from the classic Active Server Pages (ASP) that

DevX

Comparing Strings Properly in Java

The semantics of ==, with regards to string comparison in Java and C#, are totally different from each other. Suppose you have two strings?s1 and s2?and the following statment: //

DevX

Converting a String to a GUID

There is a simple way to convert a string, which is in the correct GUID format, into a GUID. Simply do the following: GUID GUID = (SqlGUID.Parse(s)).Value; Related Posts Ron

DevX

Top 10 Tips for Designing Telephony Applications

here’s a strong chance that you’ve used a speech-based application at least once?to access your bank information, check the status of an airline flight, or get the latest weather?because the

DevX

Using the New Security Controls in ASP.NET 2.0

SP.NET 2.0 comes with several new security controls located under the Login tab in the Toolbox (see Figure 1) that greatly simplify the life of a Web developer. Using the

DevX

Make Location Aware Apps Part of the Grind with BREW

hile Qualcomm BREW has had support for location-based services (LBS) applications since its inception, only recently have CDMA carriers begun to roll out the back-end support these applications need. Consequently,

DevX

Book Excerpt: “Expert Oracle PL/SQL”

xperienced PL/SQL programmers and Oracle developers will learn to master Oracle’s procedural extension to industry-standard SQL. “Expert Oracle PL/SQL” should help you become expert at developing robust, high-performance enterprise applications