Tip Bank

DevX - Software Development Resource

New Versus Malloc()

Question: Why is it necessary to typecast the return value of malloc() but not for the new operator? This question has been asked of many C++ experts but no one

DevX - Software Development Resource

Outlook Client Locks Up

Question: We have someone using PPTP to connect to our Exchange server. He is able to use the intranet without problems. He can even get into Outlook, but the troubles

DevX - Software Development Resource

Deleting/Expanding a Column

Question: What is the proper method(s) to delete a column from a table or expand the size of a column in a table? Adding is easy. Deleting and changing obviously

DevX - Software Development Resource

DATETIME Type Conversion

Question: I need some help with the DATETIME data type conversion. I have an Informix database running in a UNIX environment and I need to insert the system hour into

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

Order Objects Constructed on a Window

Question: I have a number of datawindows in a window. In a post-construct event I am making a call to another datawindow. Every so often when I open the window

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

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