Tip Bank

DevX - Software Development Resource

Refreshing the Desktop

Question: How do I refresh the desktop after I draw on it? Answer: Simple: call the Invalidate method for your form, and the window will refresh.

DevX - Software Development Resource

Type-Declaration Characters

Question: I’m having problems passing variables to an API function. I always receive a Type mismatch error. I reproduced the situation in Visual Basic and found that if I used

DevX - Software Development Resource

Open Database Error

Question: I am updating an application that was developed to make an executable test version. However, the live database is opened, not a test database. I have made a test

DevX - Software Development Resource

Descendants of TTreeNode Not Compatible

Question: I am having troubles with the TTreeView component and adding custom derivations of TTreeNodes to it. I want to define a new type of TTreeNode with a lot of

DevX - Software Development Resource

Drop Word Documents Into FrontPage 98

If you have a Microsoft Word document that you want to insert into an HTML page in FrontPage 98, you don’t have to open Word to convert to HTML. With

DevX - Software Development Resource

Writing an Event Producer

An event producer is also known as the “source” of the event. Java does not define a base class or an interface for the event producer. However, the Listener design

DevX - Software Development Resource

Implementing the EventListener Interface

The EventListener interface is a marker or tag interface that doesn’t define any methods. Its purpose is to provide a base interface for all event listener objects that follow the

DevX - Software Development Resource

Automate E-mail with VBScript

If you have Simple Mail Transfer Protocol (SMTP) installed with Internet Information Server (IIS), you can automate e-mail through VBScript. The Collaboration Data Objects for Windows NT Server (CDONTS) component