March 3, 2004

Faster String Processing

String processing in VB is usually a very slow task. Often, people process strings letter by letter and construct a larger trinf afterwards from small bits. A better way would be to look at the strings the way VB handles them: as arrays. Consider these 2 code snippets: Public Function


The problem with the collection API is that you cannot put primitive data types into it. Instead, you must use their object counter parts. For instance, you have to use the Integer class and convert back and forth, like this: int rate = 3;Vector vec = new Vector();vec.addElement(new Integer(rate));// do

All About Arrays

Arrays are similar to ideas in mathematics. An array stores many values in memory using only one name. “Array” in programming means approximately the same thing as array, matrix, or vectordoes in math. Unlike in math, you must declare the array and allocate a fixed amount of memory for it.

Business Intelligence: Today’s Decisions, Yesterday’s Data

rench writer Victor Hugo once said, “We see past time in a telescope and present time in a microscope. Hence the apparent enormities of the present.” Yet, when it comes to business intelligence (BI), often the opposite is true. We receive mountains of data on what’s already happened?the things we

Avoid Code Repetition by Using Pointers to Members

Suppose a class requires a “springboard” for calling a set of member functions which share the same signature. For example, the springboard might create some parameters to pass to these member functions, and might catch and process exceptions thrown by these members. Rather than write this springboard into each member,

Automatically Refresh a Web Page

This is required in B2B integration when one vendor logs into a system and upon validation a success message needs to be displayed and depending upon user’s request, the user needs to be redirected to a particular page/url. Specify the following below the in the HTML response. The HTML Response