devxlogo

Tip Bank

Aligned Columns in java.awt.List

You can use, or extend, java.awt.List to create a simple multi-column list. In order to do so, you need to use a fixed character width font set like Courier. Suppose

Special Folder Path

Question: I want to find the path to the Startup special folder. How can this be done within a VB application? Answer: It takes a couple of steps, but is

Running Stored Procedures

Question: In the Tastrade sample framework and application that ships with Visual FoxPro, I only see examples of running stored procedures in a VFP database from a rule or validation

View Information Stored in Type Libraries

You can use this method to view all the CoClasses, and Interfaces present in thetype library. In order to run this tech tip you need following things:(a) VB5 or VB6(b)

Cursor Customization

Question: I can set the cursor to a variety of stock cursors (e.g., HAND_CURSOR)but would like to use my own images to extend the availablecursors. Is this possible? Answer: JDK

Constant Pointer

Question: Can you expalin the difference between the following statements in some examples and when do we need them: const char *ptr; //char *const ptr; // Answer: The following statement:

C++ abstract classes

Question: What are Abstract Classes? Please explain with an example. Answer: An abtract class has at least one pure virtual member function. A pure virtual member function is a non-implemented