Tip Bank

DevX - Software Development Resource

Updating a VB6 DLL on the Web Server

Question: We have Internet Information Server (IIS) 4.0 running Active Server Pages (ASP) with a Visual Basic 6.0 DLL serving data content to the ASP pages. The problem lies when

DevX - Software Development Resource

Equivalent functions for Unchecked Conversion

Question: Are there any functions/libraries that can perform the Unchecked_Conversion function in Ada? We are writing a program that will read a bitstream. Upon determining the type, we want to

DevX - Software Development Resource

Accessing Arrays

Question: Normally, you access an array by the number of the element you want. Is it possible, in C++, to access an element by the value and return the number?

DevX - Software Development Resource

Keep Your IIS Browser Definitions Current

Internet Information Server includes a component that helps you determine the capabilities of a browser before you send code that may not be supported. The list of capabilities is stored

DevX - Software Development Resource

Escape Your Apostrophes in JavaScript

In JavaScript, the apostrophe (‘) is a string delimiter. That is, it marks the beginning or end of a text string. If you include an apostrophe inside a string, the

DevX - Software Development Resource

Add Some Pseudo-Class to Your HTML

Rollover effects are fun in HTML but too much code and alternate images means your page takes longer to render in the browser. Don’t forget that some effects are built

DevX - Software Development Resource

Color Space Transformation

Question: How do I transform the color space of an image?from its original space to grayscale, for instance? Answer: The ColorSpace class is defined in the java.awt.color package.It encapsulates the

DevX - Software Development Resource

String to StringBuffer Conversion

Question: How do I convert a String object to a StringBuffer object? I tried to put a String object into a stringBuffer using a cast, but I got an invalidcast