Tip Bank

DevX - Software Development Resource

Frame Content to Image Object

Question: In my application, I want to convert the content of a component into a GIF image. I know how to convert an Image object to a GIF, but I

DevX - Software Development Resource

Applet Filename Change Problem

Question: I have a Java applet I got off the Internet that I want to use on my server. I have tested it on mycomputer and it works fine, but

DevX - Software Development Resource

Intercept File Operations

Question: I am trying to write a utility program. I need a way to intercept all file open/save operations and get the info about the name of the file so

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