devxlogo

Tip Bank

DevX - Software Development Resource

IE Does Not Support Netscape’s Layer Tag

Question: I know that Netscape supports layers in JavaScript. Is there any way to make them work in Microsoft Internet Explorer 4 or 5? Answer: Unfortunately, no. Microsoft and Netscape

DevX - Software Development Resource

Generating a Compiler Warning

Question: I am looking for a way to get the javac compiler to generate a warning message that I specify in my code when it is compiling my code. I

DevX - Software Development Resource

Interface

Question: What’s an interface in Java programming? Answer: Conceptually, an interface is a class that defines a set of methods with no implementation. It is analagous to a pure virtual

DevX - Software Development Resource

Power Script

Question: I am reading in an external data file using i_file = fileopen (“c:dataamt.dat”, linemode!,read!) fileread (i_file, filelines) fileclose (i_file) How would you avoid hardcoding the data file so that

DevX - Software Development Resource

Relational Database vs Flatfile

Question: My company is in the process of evaluating packages to replace our current business application. All but one of them run on a relational database architecture. The other one

DevX - Software Development Resource

Two-way list with one pointer

Question: How can I make a two-way linked list with only one pointer? Answer: If, by two-way linked list, you mean a linked list that can be traversed from either

DevX - Software Development Resource

Copying data

Question: Is it possible to select only certain records from a table and copy those records to a new table? Answer: The easiest way to move only certain records from

DevX - Software Development Resource

SQL Server Query/Reports Tool.

Question: Can you suggest a good SQL Server query/reporting tool suitable for end users who are used to using the MS Access query builder/report generator? Answer: Why not stick with

DevX - Software Development Resource

obj files

Question: Do you know of any utilities that can convert an *.obj file back to its original code (*.cpp/*.c)? Answer: The simple answer is that there is no hope of