devxlogo

September 21, 1999

ProgressMonitor

Question: How do I use the ProgressMonitor class? Answer: The ProgressMonitor class is a convenience class that saves you fromthe hassle of creating your own dialog with a JProgressBar. It

DataGrid

Question: I want to extract data from a specific column in a grid control. When the user selects a record in the grid, I want to take the data from

The new Operator

Question: Is it necessary to check return value after a “new” statement?Does it return null when it cannot allocate any more memory? Answer: You do not have to check the

Problems with VB6, Access 2000 and ADO

Question: I am doing a project where VB6 talks to Access 2000 thru ADO. I am using a login dialog to obtain the username, password & DSN (ODBC Data source

File.createTempFile()

Question: I am attempting to use createTempFile and it works fine with JDK 1.2.2,but IE 4 and 5, and Netscape give me the following error: java.lang.NoSuchMethodError: java/io/File: methodcreateTempFile(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; notfound. Why

Guidelines for Handheld Computer Developers

The proliferation of handheld devices and embedded systems revives old programming and design considerations that existed in the olden days, when every byte of memory and every CPU cycle counted.

Improve Performance by Putting Loop in a Query

Most applications contain a loop that contains a parameterized query, which is executed many times depending on some logic. This requires a network round trip between the computer running the

Avoid Using Refresh() Method

Refresh method of Parameters collection is used to populate the Parameter objects in the collection. This method queries the data provider to populate the collection with Parameter objects containing specific