devxlogo

Tip Bank

Send All Your System Messages To File

Often, while developing a system you want to debug it using System.out.println or System.err.println. When development is over you would like to send all those messages to file. The easiest

Use Assertions For Detecting Errors

The assert macro can be used to detect errors as soon as they occur. This macro is defined in the include file , and is used that way: assert (expression)

Unload a form with shrinking effect

A simple way to add some pizazz to your forms is by minimizing them and then closing them, instead of making them disapper istantaneously. Just try this code: Private Sub

Cut, copy, and paste using API functions

Copying and pasting text and images programmatically isn’t difficult at all, using the methods of the Clipboard object. However, implementing a generic Edit menu that copies and pastes the highlighted