devxlogo

Tip Bank

Carriage Returns in Text Files

Question: I have written a function which strips out all carriage returns from a memo field passed toit, replacing them with the characters ““. The returned piece of text is

OWA 2000 Journal and Public Contacts

Question: Will OWA 2000 provide access to public contacts and access to the users journal? Answer: The answers to your questions, you’ll be pleased to hear, are yes and yes.

Mail Not Delivered

Question: Quite a few users keep getting a message saying their e-mail did not reach the intendedrecipients, and also that there was a communication error and the sender has beenrejected.

Accessing the Container of an Object

Question: How do I find the parents of a control? Answer: All VFP objects have a property called “parent,” which is an object reference to thecontainer of the object. For

Run EXE as Logged-On User

Question: Let’s assume I am logged onto an NT Workstation as a normal user. Using one of your10-Minute Solutions I managed to get the LogonUser API to log me in

Avoiding Buffer Overflows

Buffer overflows are a fertile source of bugs and malicious attacks. They occur when a program attempts to write data past the end of a buffer. Consider this example: #include

What’s in a Library?

A library is essentially a file that contains compiled object modules (a module is the object file produced from compiling a single source file). A program can call, or import,