Tip Bank

DevX - Software Development Resource

Sorting MSFlexGrid

Ever wonder how to get the MSFlexGrid to have sorting behavior common inmany Windows applications? That is to say when you double-click on acolumns header it sorts ascending. Double-click again

DevX - Software Development Resource

Use Decode Function for Oracle Queries

Decode is a very useful and handy function for Oracle queries. Itreplaces the complex If-Then-Else logic, which is used to display different things based on different values in a column.

DevX - Software Development Resource

Informix Registration Within SQL Server 7

Question: How can I view Informix database tables via the SQL Server 7 Enterprise Manager? Answer: I’m not a SQL Server user, so I can’t address your SQL Server specific

DevX - Software Development Resource

Changing the Stack Size

Question: Is it possible in Java to increase an application’s stack size? Answer: The stack size of an application can be set at run time depending on the virtual machine

DevX - Software Development Resource

Servlet State

Question: I’m developing some applications with servlets. I’ve been declaring static variables to preserve state, but when two instances of the servlet run at the same time, the second instance

DevX - Software Development Resource

Template Function Error

Question: Consider the code: template class TestClass {public: T testFunc(T*);};template TestClass::testFunc(T* p1){ return sadfs; //actually, here I could //write anything I want} The problem is that VC++6 compiler doesn’t track

DevX - Software Development Resource

Client Says Not to Use Joins in VB App?

Question: I have a client that used to be an Oracle programmer years ago who tells me I’m designing his SQL 7.0 database all wrong because I’m using joins in

DevX - Software Development Resource

Opening an ASP Page Through VB

Question: How can I access an ASP page through VB? Answer: You can use the Internet Transfer control to connect to a web page and retrieve data from Visual Basic.