Tip Bank

DevX - Software Development Resource

Copy constructors

Question: I have a class with multiple parents. In my copy constructor, should I invoke the parents’ copy constructor or their default constructor? Answer: In all but the rarest of

DevX - Software Development Resource

Screen resolution detection

Question: I need to know how to detect the screen resolution of the client machine. Then I need to tell it to go to specific pages based on what it

DevX - Software Development Resource

Hyperlinks opening a new browser

Question: I’m working on a Web site in Microsoft Front Page, and when I browse the home page in either Netscape of Internet Explorer, all the hyperlinks on the page

DevX - Software Development Resource

How to view an image

Question: An old high school friend said he put a picture of himself on the Web, and to view it I should go to JPEG … WHAT DO I DO???

DevX - Software Development Resource

Finding the Most Recent and Consecutive Data

Question: [Joe Celko’s Pension Plan Puzzle]Luke Tymowski, a Canadian programmer, posted an interesting problem on the MSAccess forum on CompuServe in 1994 November. He was working on a pension fund