The Latest

DevX - Software Development Resource

A Very Brief Peek at LINQ

t PDC, Microsoft announced the Language Integrated Query framework (the LINQ Project). The LINQ Project is a set of language extensions to C# and Visual Basic and a unified programming

DevX - Software Development Resource

Use sun.misc Classes for Base64 Image Conversion

The following code demonstrates how to use sun.misc classes for Base64 image conversion: import java.io.*;import java.awt.*;import java.awt.event.*;class Base64Example extends Frame implements ActionListener{Image IMG=null; //image1Image IMGdecode=null; //image2-resultTextArea TA=new TextArea(); //printing the

DevX - Software Development Resource

Implement GetTickCount in Linux

To implement the GetTickCount API when porting code from Windows to Linux, use the following code: long getTickCount(){ tms tm; return times(&tm);} Related Posts Elon Musk endorses Nelson Peltz for

DevX - Software Development Resource

How to Hide a ContextMenu

To display the shortcut menu, you call ContextMenu.Show() method. Typically, you call this method if the right mouse button on a control or area of the form is clicked. The

DevX - Software Development Resource

Handling Null Values in Oracle

Oftentimes, a query will return null values for some of the columns in a query. However, to display “null” as the value in the generated report isn’t a very effective

DevX - Software Development Resource

Analyze Your IIS6 Web Logs with AWStats

eb server logs are a powerful resource for extracting information about your Web sites and applications. When logging is enabled, Web servers log information about each request. By analyzing these

DevX - Software Development Resource

Statistics Made Easier with STL

rogrammers developing financial, scientific, and numerical analysis applications often need to reinvent the wheel, implementing statistical functions for calculate mean, median, percentiles, and similar statistical data. This solution will show

DevX - Software Development Resource

.Finalize(): What Does That Beep Mean?

pparently, only a fraction of the people who live in Florida actually live in Florida. At least, that’s what the tax collector thinks, because if you actually do suffer through

DevX - Software Development Resource

Heard on .NET Rocks!: Pobar and Abrams on the CLR

am the host of “.NET Rocks!”, an Internet audio talk show for .NET developers online at www.dotnetrocks.com and msdn.microsoft.com/dotnetrocks. Together with my co-host Richard Campbell, we interview the movers and

DevX - Software Development Resource

Tragedy and a Call to Action

his last month has been quite tragic on a number of levels. Early September brought Hurricane Katrina which wreaked havoc on the citizens of Louisiana, Alabama, and Mississippi. Literally thousands

DevX - Software Development Resource

Improve Javascript Performance by Caching Your Objects

JavaScript often repeatedly accesses a certain object, for instance: In the above example, the object document.images is accessed multiple times, forcing the browser to dynamically look it up twice during

DevX - Software Development Resource

Ask Users Before Rejecting X509 Certificate

This tip implements a X509TrustManager that asks clients before it rejects a certificate chain. The keystore used is just an example? you can adapt it for any other keystore: import

DevX - Software Development Resource

Simplify Unit Testing for Spring Web Components

here is nothing more reassuring for the software engineer than having a set of executable unit tests that exercise all the aspects of the component under test. Traditionally, testing J2EE

DevX - Software Development Resource

How to Create a Web Service in C#

Creating Web services in C# is very easy. All you have to do is extend the WebService class and identify which methods are Web service methods using the WebMethod attribute.

DevX - Software Development Resource

Shortcut for Adding a Line Break in a Table Cell

In MS Front Page 2000, while entering data in a table cell under Normal TAB, typing the following automatically adds tags wherever required: Related Posts Japan Earthquake: Nuclear Plants Largely

DevX - Software Development Resource

Porting itoa Windows STL Code to Linux

There is no default itoa implementation in the STL under Linux. If you include , it won’t work. If you disable the STL from the GCC command line, you lose