devxlogo

Tip Bank

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.

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

Basic FoxPro SQL

Question: I’m trying to retrieve eight fields from four FoxPro tables via on-the-fly SQL from an ASP page… and I’m not familiar with FoxPro SQL. The following doesn’t work, but

Importing Gigabytes of Data from a Flat File

Question: I’m currently working on a data warehousing application using SQL Server 7. The problem I have is that I have to import 610,000 records of mainframe data per day

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