devxlogo

Tip Bank

Initializing A ResultSet

Question: I am building a prototype but am trying to make the code as reuseableas possible. To test the prototype, I need to simulate a ResultSetbeing returned from a database.

Textfield Alignment

Question: How do I right align numbers in a textfield? Answer: This is yet another example of why the Swing classes should be used inlieu of the AWT classes. Swing

AWT Thread Interaction

Question: I have two threads in an application. Thread A displays a form andallows the user to interact with it, thread B executes a loop whichcontinually retrieves data and updates

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.

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

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 }

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

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

Informix ODBC Drivers 3.31

Question: I am currently running Informix Dynamic Server 2000 version 9.20 TC1 on an NT server, Service Pack 6a. I have existing Visual Basic 5 applications that are using ADO