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

Changing Outlook’s Default E-mail Message

Question: I want to change the format of the default e-mail message (IPM.Note). I have created a new form, but want it used whenever the user selects “New Message.” (I