December 4, 1998

Delaying a Program

Question: Can you please tell me how to delay the program flow in Java? I can’t find any implementation of delay(). Answer: To introduce a delay into your program, use

Sorting Strings in an Array

Question: I have a list of filenames in a String array. I’d like to sort them into alphabetical order. Is there a class to do this, or must I implement

Frame Content to Image Object

Question: In my application, I want to convert the content of a component into a GIF image. I know how to convert an Image object to a GIF, but I

How do I make a shortcut in Windows 95/98

Question: I would like to create a shortcut on the desktop. How do I do that without copying a file to the windowsdesktop directory? Answer: The basic approach is to

Intercept File Operations

Question: I am trying to write a utility program. I need a way to intercept all file open/save operations and get the info about the name of the file so

Simulating Keystrokes

Question: I am building an add-on application in Visual C++ 6.0. How can you send a key combination (such as Control+K) to another application to invoke a menu shortcut (for

NT Date Format

Question: I am trying to develop a VB program to interface with a database from a third-party imaging product. The database is SQL Server and the product stores dates as