Tip Bank

DevX - Software Development Resource

The Casts Of Java

A cast is a conversion of data type on a variable. Casts can occur when you explicitly request them as in: Frame f = new Frame; Object o = ((Object)Frame);

DevX - Software Development Resource

Make More Versatile Trim Functions

One of the nice things about VB is the ability to redefine most of the built-in commands. For example, you can extend the functionality of the Trim family of commands.

DevX - Software Development Resource

Determine Time on Client Machine

Question: How can I get the system time using HTML and JavaScript? Answer: I’m assuming that by “system time,” you mean the time on the client machine. You can access

DevX - Software Development Resource

Load Images off JAR Files

Packing resources (classes, sound files, images) in a JAR file is good way of reducing download time and decreasing distribution size. This tip shows you how to load images off

DevX - Software Development Resource

Swap Strings Faster

Here’s a cool way to swap strings: Declare Sub CopyMemory Lib “kernel32” Alias _ “RtlMoveMemory” (Destination As Any, _ Source As Any, ByVal Length As Long)Sub SwapString(String1 As String, String2

DevX - Software Development Resource

Using PSTs to Enhance Performance

Question: In a site that has multiple servers (some top-of-the-line, others border-line) is it better to use PSTs (personal file folders)? In other words, does it enable Exchange to perform

DevX - Software Development Resource

Multiple Linking to a Table

Question: I have a main table where there are three fields: UserID, Postal code main, Postal code sub. I have a second table where there are two fields: Postal code,