The Latest

DevX - Software Development Resource

Pausing Code to Call Another Form

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

DevX - Software Development Resource

Data Field Refresh on Forms

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

DevX - Software Development Resource

Command-Line Argument in FoxPro 2.0

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:

DevX - Software Development Resource

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

DevX - Software Development Resource

Number of Fields Allowed in a FoxPro Table

Question: How many fields is one allowed in a FoxPro table? Answer: VFP tables can contain 255 fields. Related Posts CloudBees And The Jenkins Community Announce Integration With Kubernetes 1.0Agile

DevX - Software Development Resource

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.

DevX - Software Development Resource

Directories That Won’t Open

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

DevX - Software Development Resource

Windows NT Profiles

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

DevX - Software Development Resource

Windows 2000 Defragment

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

DevX - Software Development Resource

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.

DevX - Software Development Resource

Windows NT Administration

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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,

DevX - Software Development Resource

Calling a Function at Program’s Startup

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

DevX - Software Development Resource

Getting the Code Value of a Character

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

DevX - Software Development Resource

Calling a Help System

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

DevX - Software Development Resource

Slow Report Generation

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

DevX - Software Development Resource

Text Datatype

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

DevX - Software Development Resource

Informix and ASP Error

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

DevX - Software Development Resource

Database Connectivity

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.

DevX - Software Development Resource

Simple Component Testing

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

DevX - Software Development Resource

Implement Catch All Blocks for Robustness

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

DevX - Software Development Resource

Overhead of Using Inner Classes

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

DevX - Software Development Resource

Multiple Entries That Meet Criteria

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

DevX - Software Development Resource

ADO with Stored Procedures

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

DevX - Software Development Resource

Client Caching of Java Server Pages

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

DevX - Software Development Resource

Sqlhosts

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

DevX - Software Development Resource

Get Date by Totaling All Seconds

Question: How do I get the total number of seconds between two dates? Answer: You can use the DATEDIFF function to calculate the difference between two dates. The value can