
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

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

Question: I have a form with a block of code that hides the form and then calls another form. This other form accepts input, saves it to a table and

Question: I have a multi-page form with navigation controls on the first page. When I “Next”through the records, the data fields refresh fine on Page One but not on the

Question: Is there any way for FoxPro to accept a command-line argument: c:foxpro2.0fox myprogram “Justin” Where “Justin” is a string sent to the FoxPro program ‘myprogram’ as a parameter? Answer:

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

Question: How many fields is one allowed in a FoxPro table? Answer: VFP tables can contain 255 fields.

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.

Question: How come I can’t open some directories on my C: drive? I get the error”c:directoryname is not accessible. Access is denied.” Answer: I have had the same problem on

Question: Why are Windows NT user profiles created with extensions of .000, .001, and so on? Answer: The following is from the MSDN article Q185588, “Guide To Windows NT 4.0

Question: How can users be given the ability to run defragment without any other rights being givento their computers? Answer: There is a utility in the W2K Resource Kit called

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.

Question: How can I add hundreds of users to the NT server by an automated procedure? Answer: In the NT Resource Kit (either NT 4.0 or W2K version), look at

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

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,

A static member function doesn’t take an implicit this argument, as do ordinary class member functions. Therefore, it can’t access any other members of its class unless they are also

Certain applications need to invoke startup functions that run before the application starts. For example, polling, billing, and logger functions must be invoked before the actual program begins. The easiest

A character enclosed in a pair of single quotes is a constant expression that is evaluated to the numeric code of that character in the character set that the implementation

Question: Once I create a .chm help file with HTML Help Workshop, how do I call this help file from my .exe application? Answer: There is a simple answer and

Question: I’m developing a VB client application (using VB5) with an Informix database in the backend. However, the report generation that Crystal Report incorporates has always been very slow. What

Question: How do I search a text datatype column in an Informix database? Answer: Try using one of the text search datablades, if you are running an engine that supports

Question: When I try to connect to an Informix database (via ASP) located on another machine on our LAN, I get the following error: Microsoft OLE DB Provider for ODBC

Question: I have an Informix 7.32 server on a Sun box and I need to connect to it from another Sun box. How do I ensure it’s connected? Answer: Run

Question: I am trying to connect to an Informix database via ODBC from Microsoft Access 2000. When I import a table from the Informix database, I see all the data.

When creating ActiveX components, an easy way to test them is to add a module to the project (see the code below). In this module you can write methods that

You can use Throwable class in catch block to catchall kinds of exceptions. This class is the base classof all errors and exceptions in the Java language. You can use

An interesting situation with method call overhead arises when you use inner classes. The inner class specification says that a private method of a class A can be used by

Question: How can I pull just the first match to a query? We have a database of jobs in process: jobno 12345op# 10 shear %complete 100op# 20 punch % complete

Question: How do I get both output parameters and output recordsets from the SQL7 stored procedures I call from ASP via the ADO command object? Answer: It is possible to

Question: When I redirect a request from a Servlet to a JSP, the browsercaches the JSP and won’t display an updated page without reloading.How do I prevent the page from

Question: Why when I try to run sqlexecd to set up ODBC do I get an error: -25553 unable to load locale categories. Answer: Check your environmental variables. If you











