Tip Bank

DevX - Software Development Resource

SQL with Unix Arguments

Question: How do I pass arguments from a Unix shell onto SQL for various SQL statements (e.g., select * from $tablename, create table $TABS, etc.)? Also, how do I get

DevX - Software Development Resource

WAP Security Issue

Question: When encrypted information is being interchanged between a client and a “secure” server through WAP, does the information ever lie decrypted on the WAP gateway or does the client

DevX - Software Development Resource

Inheritance in C++

Question: In order to have better maintainability and optimum performance, how many levels of inheritance do you recommend ? Answer: Performance is not affected by the depth of inheritance. The

DevX - Software Development Resource

Date Conversion from Seconds to Normal

Question: Is there some way to write a function that converts a date that is in seconds since December 31, 1969, into a normal date format? Like this: date from

DevX - Software Development Resource

Derive from STL Map<>

Question: I created my own map class (called it Mapper) by creating a template class and deriving from STL map container class. I did so because I wanted to have

DevX - Software Development Resource

Focusing on Field

Question: I am using onblur method on text fields. Based on Validation I want to put the focus back on field. function fldfocus(fldname) {if (navigator.appName==”Netscape”) {document.Layers[fldname].Focus();else {document.all[fldname].focus();}} On Netscape it

DevX - Software Development Resource

Form with One Text Field

Question: I see search pages that allow text input, then pressing the ENTER key is the same as pressing a link or pushbutton. How is this done? Answer: If a

DevX - Software Development Resource

Blocking E-mail from Specific Address

Question: How do I block an e-mail address from sending messages to our server? A former employee keeps sending messages from his outside account to our current employees. I have

DevX - Software Development Resource

Placing Child Window

Question: How do I make a child window go behind its parent window when a button is clicked? I know self.focus() brings a window forward. I need the opposite of