Tip Bank

DevX - Software Development Resource

Use Escape Key to Close Your AWT Dialogs

It has become customary for Microsoft Windows users to close an active window by pressing the escape key. It is not that easy to intercept key events in Java. This

DevX - Software Development Resource

Writing directly to a printer

Question: How to write a text directly to printer port, such as lpt1? Answer: While there is no standard method of writing directly to a printer, you can try writing

DevX - Software Development Resource

Function Binding

Question: Is there a compiler or run-time option to specify whether to use static binding or dynamic binding for function calls? This option, if it exists, may actually override the

DevX - Software Development Resource

Large Forms

Question: Is there any way I can create scrollable forms in VB 5.0? Answer: There isn’t a simple way that I know of. If you must have scrollable screens consider

DevX - Software Development Resource

Datawindow Sorting for Datawindowchild

Question: I have a datawindow where I sort the data by clicking on the column header. In one of the columns I have a drop-down datawindow attached. Whenever I click

DevX - Software Development Resource

indication about non existence of a file

Question: Using ifstream, I want to open a file that already exists, and launch an error message if it does not exist. How can I get indication that the file