Tip Bank

DevX - Software Development Resource

Overload Operator []

Question: Is it possible to overload the ‘subscripting operator’ [] so it will take char * as the index, similar to an array? For example: I want to write a

DevX - Software Development Resource

Connect to a Remote Database Using ASP

Question: How do I connect to an Access database that resides on a network server other than the Web server? My goal is to query the Access database and display

DevX - Software Development Resource

Access Violation

Question: I get an “Access violation at address…” error, when I run my program. An error occurs on line “scanf(…)” but I can’t figure out what is wrong. Answer: In

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

Interface Usage

Question: In designing a program, how do I know when to use an interface or a class?Is there a basic rule to follow? Answer: Java supports a limited form of