Tip Bank

DevX - Software Development Resource

Using More Than One OnLoad Command

Question: Is it possible to use more than one onLoad command in my tag? Answer: Sure. Like other event handlers, the onLoad event handler you’re including within the tag on

DevX - Software Development Resource

Redirect More Efficiently in IIS 5

If you are using Internet Information Server version 5, you can redirect browsers to a new page more efficiently. In IIS 4, you had to use Response.Redirect as in this

DevX - Software Development Resource

Iterate Through Control Arrays

When you need to iterate through all the elements of a control array, use this code: Dim J As IntegerFor J = Text1.LBound to Text1.Ubound With Text1(J) ‘ Work here…

DevX - Software Development Resource

Insert Soft Breakpoints

If you want to step through the code behind a certainscreen element at run time, you might do something like this in break mode: Hit Ctrl-Break from run mode, use

DevX - Software Development Resource

Split Strings Cleanly

The Split function is great for parsing strings, but what happens when a string has more than one consecutive delimiter? It might seem odd that Split() returns empty substrings as

DevX - Software Development Resource

Change the Gray Applet Background

Applets use a default background of gray, which may not be visually appealing to you. Besides, gray may be the background color of the web page on which the applet

DevX - Software Development Resource

Java Consoles Show What’s Going On With Applets

Modern Java IDEs like Symantec’s Visual Cafe and Inprise’s JBuilder offer advanced applet debugging facilities. However, if you develop your applets using only the freely distributed JDK, it might be