devxlogo

Tip Bank

Syntax Question

Question: What does “Today – @sub” equate to in Oracle and what does it mean? Answer: It doesn’t look like anything in Informix, and I couldn’t find any reference on

Onmonitor Program and Shared Memory

Question: When I start the Onmonitor program and run Status, I receive the message, “Unable to attach to shared memory.” But I have Informix 7.23 for AIX! What’s going on?

Searching PBD for User Object at Runtime

Question: I am currently writing a generic system where user object names are stored in a database and instantiated upon request. This is currently working beautifully, but I fall short

Entering Password at Startup

Question: How do I set up my Outlook 2000 client to autopopulate the user name and domain name in the Enter Password dialog box during startup? Answer: The best way

Evaluating Database Security

Question: How easy/hard is it to hack into a database? How do they hack into them, and where can I get some basic information on database privacy and security? Answer:

Running an External Program

Question: How do you get C++ to run an outside program? How do you type this in the source code? Answer: You can invoke another executable from your programming by

Protected Inheritance Bug

Question: What is the standard rule on access specifiers associated with superclasses? Old C++ compilers would not allow protected superclasses. But, the book I’ve read about OOAD allows it. Example:

Opening Web Browsers for Multiple Pages

Question: I have seen a few tips regarding opening a Web browser using the Run command or using the ShellExecuteA external command. If I want to open multiple pages one

Jumping to the End of a Program

Question: I have a function halfway through a program, which should allow the user to quit the program, at the moment it just carries on to the next function call.