devxlogo

Tip Bank

DevX - Software Development Resource

Splash Page Creation

Question: I would like to show a splash page and have it time out after approximately five seconds. How do I do that? Answer: Presumably you would like to display

DevX - Software Development Resource

Simulating Keystrokes

Question: I am building an add-on application in Visual C++ 6.0. How can you send a key combination (such as Control+K) to another application to invoke a menu shortcut (for

DevX - Software Development Resource

A pause function

Question: I cannot figure out a pause function for C++. Our books are very generic…can you please help? Answer: To pause for a given amount of time, you will need

DevX - Software Development Resource

Creating a Guaranteed Unique Filename

Question: How can a unique filename be constructed that guarantees that it will be unique across processes? Answer: There is unfortunately no Java 1.1 analog to the POSIX tmpnam() C

DevX - Software Development Resource

Inner Classes

Question: Why can’t I have a static member in an inner class? Answer: The simple answer is that static member variables and methods aredisallowed by the Inner Classes Specification that

DevX - Software Development Resource

Programming Languages

Question: My company, a strictly a VC++ development group, is considering developing a large real-time database/imaging application in both VB and VC++. What are the pros/cons of doing this, and

DevX - Software Development Resource

What is SQL?

Question: What are the types of features available and its respective characteristics? How does this language help in relational databases? Answer: May I suggest you obtain Joe Celko’s introductory book

DevX - Software Development Resource

Page allocations in a sql table

Question: I am getting all kinds of errors on a database table that have something to do with page allocation in the database (error 1109). I would like to drop

DevX - Software Development Resource

Printing a line at the detail band

Question: I want to print a line at the detail band onlyif it’s on the last row of the page; otherwise, itshould not print at all. Answer: To achieve this,