Tip Bank

DevX - Software Development Resource

Dynamic Report Generation

Question: How can I develop a report such that the user can choose what fields of a (single) table should be retrieved and printed? For example, a customer table with

DevX - Software Development Resource

Display an Alert After the Page Loads

Question: How do I make an alert box pop up 10 seconds after the page loads? Answer: You can display an alert a certain length of time after the page

DevX - Software Development Resource

Explaining the Modulus Operator

Question: What does the modulus (%) operator do? Answer: The modulus operator returns the remainder of a division operation. For example, 5%2 equals 1 because dividing 5 by 2 gives

DevX - Software Development Resource

Caching JavaScript Files

Question: If I include a .js file using the src attribute of a script tag and then I need to change the content of the .js file (perhaps to correct

DevX - Software Development Resource

Possibility of Decompiling an EXE File?

Question: How can I get the source code from EXE files? Does it matter if they are read-only? Answer: This question is asked very frequently. However, the answer is always

DevX - Software Development Resource

General Precedence

Question: I am an engineer at GNB Technologies and have been programming for quite some time. Last week a friend of mine asked me an interesting question that stumped me.

DevX - Software Development Resource

Languages Used for Windows Programs

Question: I need to know what languages are used in the implementation and programming of Windows 95 et al. (Windows 98, Windows NT, and Windows 2000). Any help or referrals

DevX - Software Development Resource

Class Scoped Constants

Question: Is there a better way to scope constant values within a class other than by using “enum”? class Foo {public: enum { valueOne = 1, valueTwo = 2 }

DevX - Software Development Resource

Informix OLE DB Provider

Question: I have IDS 7.31.UC2A and I want to register Informix OLE DB Provider on this database server. I need the %INFORMIXDIR%etccoledbp.sql script for running it against the sysmaster. Can