November 18, 1999

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

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

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