devxlogo

May 2, 1999

Canceling a call to a dll

Question: In a program, I’m calling a function in a dll. The time before that function is finished can vary from a few seconds to an hour, depending on the

Form Load

Question: What happens in the Form Load? If I try to retrieve information from a database (using a DataControl and TextBoxes connected to the database), I can’t get the program

TreeView Control

Question: I would like to know how I can add, remove, and see if an item is in the TreeView control. For example: Prism Pros 4/30/99 7:39AM 4/30/99 8:00AMMcFarley 4/30/99

Phone dialer

Question: Is it possible to connect and disconnect a Microsoft phone dialer that calls my Internetservice provider from a VB program? Answer: It sure is, and VB makes it very

Looped Exceptions

Question: Is there any way to catch exceptions repeatedly, instead of just once? For example, when creating a Date object with a String, an IllegalArgumentException can begenerated and caught. In

Java 2 Compatibility

Question: Why do I have problems running some programs with Java 2? Answer: Many Java class libraries and programs written before Java 2 use a technique called obfuscation to make

Network Authentication

Question: The new java.net.Authenticator class in JDK 1.2 seems to be the answer to generalized user-authentication. Why dogetPasswordAuthentication andrequestPasswordAuthentication both return PasswordAuthentication, butrequestPasswordAuthentication requires a security check? Answer: The getPasswordAuthentication

Deleting a structure from disk

Question: I have written a videoshop program in C++. I need to be able to delete a video structure off the disk. At the moment, the user enters a video

How to Time a Set of Threads

hen you time a set of threads, you generally want to know thetime elapsed between when the first thread starts and the last threadfinishes. When you time a single thread,