Tip Bank

DevX - Software Development Resource

Understanding Session_OnStart and Application_OnStart

Question: I am confused regarding the Application_OnStart and Session_OnStart events in the global.asa file. What I feel is that the application_onstart event is triggered the very first time the application

DevX - Software Development Resource

Pointer Arithmetic

Question: I am a programmer beginning to learn C++. I wrote this chunk of code: /////////////////////////////////////////////////////////////// Get to do some pointer arithmetic!/////////////////////////////////////////////////////////////#include #include const char NL = ‘ ‘;const char

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