
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
f you haven’t done electronic credit card processing yet, you may be asked to do it soon. Don’t sweat, it’s not as difficult as it sounds?actually it’s quite simple. In
he Java 2 Collections Framework includes a set of static methods forsorting and searching lists and arrays. The java.util.Collectionsclass contains methods for manipulating instances of List and thejava.util.Arrays class contains
‘ Replace the last occurrence of a stringFunction ReplaceLast(Expression As String, Find As String, ReplaceStr As String, _ Optional Compare As VbCompareMethod) As String Dim i As Long i =
‘ A replacement for the Split function under VB4 and VB5” Note that the return value is a Variant that contains’ an array of stringsFunction Split(ByVal Text As String, Optional
‘ A replacement for the StrReverse function for VB4 and VB5Function StrReverse(ByVal Text As String) As String Dim length As Long, index As Long length = Len(Text) StrReverse = Space$(length)
‘ Join variant that works with’ bi-dimensional arrays of any type’ and that encloses string values between quotes” ARR is the 2-dimensional array whose element must be joined’ ROWSEPARATOR is
‘ A replacement for the InStrRev function under VB4 and VB5” NOTE: uses the StrReverse functionFunction InStrRev(ByVal Text As String, Search As String, _ Optional ByVal Start As Long =
‘ A replacement for the Join function under VB4 and VB5Function Join(arr() As String, ByVal Delimiter As String) As String Dim index As Long For index = LBound(arr) To UBound(arr)
‘ A Split variant that parses a string that contains’ row and column separators, and returns a 2-dimensional array” the result String array has a number of columns equal’ to
‘ Join variant that works with arrays of any type’ and that encloses string values between quotes” ARR is the array whose element must be joined’ SEPARATOR is the separator
‘ A replace for the Filter function under VB4 and VB5” Note that the source array is modified. For this reason’ this is declared as a Sub rather than a
f you are like me, you have already broken some of your New Year’s resolutions. As ASP programmers, however, it is time we made some resolutions to code better, more
Question: I have read that to upgrade from Exchange 5.5 Standard to Enterprise Edition, I need to install Enterprise on top of my existing installation. Is that correct?What are the
Question: Would you please tell me the difference between regular class objects and temporary class objects? Answer: The compiler creates temporary objects in several occasions. Usually, the temporary stores the
Question: Does C++ have a goto statement? If yes, how does it work (what is the syntax)? If no, is there an equivilant and what is the syntax? Answer: Yes,
Question: I am working on a project to increase mail efficiency for our Exchange Server-based mail system. I would like to find out whether a specific feature is being utilized
Need the ability to view a PDF document within a Javaapplet? Daniel F. Savarese, answered this question in the March 2000 issue of Java Pro. His solution involves using Adobe’s
Values for datetime data types earlier than January 1, 1753 are not permitted in SQL Server. SQL Server rejects all values that do not fall within the range from 1753
In many programming languages such as C or Pascal,most users have come across global variables.Like this C example: int GlobVar = 0; // Global variable void f(int x) // Function
Java allows you to cast variables, or change them from one variable type to another. However, it’s important to make sure that the final variable type can store all the
Let’s say we have an overloaded function called fun(): void fun(string) { system.out.println(“String”); }void fun(int) { system.out.println(“Int”); }void fun(double) { system.out.println(“Double”); }void fun(float) { system.out.println(“float”); } If we call fun(37)
Complex initializations need only be done once and the result stored for later use. For example if you need to create a list of integer values and then load them,
Use J++ 6.0’s Localization feature to provide several language versions of your application. This new feature allows you to create separate resource files for every form in your application, and
You can consider Java to be a strong language with respect to internationalization and number formatting. Sometimes you might wish to format numbers in a specific locale or given a
The J++ 6.0 includes the ability to do conditional compilation, a mechanism for debugging code. J++’s conditional compilation allows you to include or exclude entire blocks of code at run
If you have a JTable where the values displayed in a particular columnare Integer objects, it will display the Integer values with commas(e.g. 98765432 is displayed as 98,765,432) if these
Computer science sophomores learn that recursion can neatly solve complex problems, e.g., Hanoi rings, wildcard handling, and parsing. In practice, however, recursion can be problematic for several reasons. First of
An assignment expression can appear inside an if condition: if (x = getval() ) { // do someting } The if condition is evaluated in two steps: first, the unconditional
A derived class’s member-initialization list can initialize any non-ambiguous member of its class, including base subobjects. Suppose you have a class C that is derived from B, which is in
By default, a typedef name declared in the global scope has internal linkage. This means that separately compiled source files can’t refer to a typedef declared in another source file,










