The Latest

DevX - Software Development Resource

Organizational Chart Linked to Outlook Contacts

Question: I’d like to draw an organizational chart of each of our customers (and store that diagram in an Exchange public folder), linking each different role to a specific Outlook

DevX - Software Development Resource

Why Choose Exchange 5.5?

Question: Why should I choose to implement Exchange 5.5 when Microsoft Office works for my company? Answer: Well…Microsoft Exchange Server is a very different product from Microsoft Office. Office is

DevX - Software Development Resource

Cannot Quit FoxPro

Question: I have built an executable file and included a READ EVENTS command. After running the .exe, I am unable to quit VFP. The message I get reads: “Cannot quit

DevX - Software Development Resource

Time Data

Question: I am using Windows 2000 and ADO 2.5 with VB6.0 and I am retrieving a datetime field from an Informix database 7.3. The field contains time only. When the

DevX - Software Development Resource

Exchange Server 5.5 Redundancy for Fail-Over

Question: I found out about a software suite around eight months ago that would allow me to mirror my production server on the fly and that would make the mirror

DevX - Software Development Resource

Informix Row Locking Problem

Question: I created a simple SQL statement to update one row of a table in a transaction. I then updated a different row in the same table while this transaction

DevX - Software Development Resource

Action Queries and ADO Objects

Question: Which is better to use for inserting or updating a record: Recordset object or Command object? Answer: When using an Action Query (a query that performs an action and

DevX - Software Development Resource

Using Radio Buttons in a Form

Question: I read an article about how to search a database upon the criteria provided by users. In the example, you showed how to use a drop down menu (combo

DevX - Software Development Resource

SQL Web Authentication

Question: Given that NTCR is only good in a network environment, how can I redirect a user back to a login page (or trap something) if I pass their username

DevX - Software Development Resource

Code to Send E-Mails from an Oracle Stored Procedure

The following code (based on the UTL_SMTP package supplied in Oracle8i V8.1.6, release 2) enables you to receive e-mails from the database, reporting a correct ending backup, a corrupted backup,

DevX - Software Development Resource

Accessing External Table

Question: How do I define an external table (that is not in my current database) in Informix and access the data in it? Answer: If you’re connecting to an external

DevX - Software Development Resource

Finding the First Date of a Week

Question: If I have the number of a given week of a year, how can I get the date of the first day of that week? For example, I want

DevX - Software Development Resource

GetCookies – Get local cookies for a given URL

Private Declare Function InternetGetCookie Lib “wininet.dll” Alias _ “InternetGetCookieA” (ByVal lpszUrlName As String, _ ByVal lpszCookieName As String, ByVal lpszCookieData As String, _ lpdwSize As Long) As Boolean’ Get locally-stored

DevX - Software Development Resource

Converting Input String to Proper Case

This is a simple string manipulation functionality that is often required.It converts the input string into a proper string (eg., “how are you doing?” will return “How Are You Doing?”).

DevX - Software Development Resource

VB Control Space Completion

You can use to activate Intellisense to prompt you forvariables/methods/properties/events at any point in a code window. For example:If you have a variable named myvariable, typing myv and then doing

DevX - Software Development Resource

string::npos

Question: Could you please explain what the significance of string::npos is in the statement? someString.find_first_not_of(“0123456789”)==string::npos Answer: string::npos is a constant integer that holds the maximum value of characters that a

DevX - Software Development Resource

Checking If a Function Pointer is Valid

Question: I am collecting a number of function pointers in C++ and before I call them I want to check to see if they have been set. I really want

DevX - Software Development Resource

How to Use Some Variable in 2 EXE Programs

Question: Can you to tell me how to use a variable in other VB projects; i.e.,how to use some variable in two EXE-compiled VB projects? Answer: Because of the way

DevX - Software Development Resource

The MB ActiveLink Control

The MB ActiveLink Control is a label-type control that the end user can click to jump to the specified web URL, Email address or document, or open the associated application.

DevX - Software Development Resource

Forms, Formats, and Contents

was studying the excellent Francesco Balena book, “ProgrammingVisual Basic 6.0,” edited by Microsoft Press, the cost of which iswidely compensated by both the book and the enclosed CD contents&#151:when Iran

DevX - Software Development Resource

Returning Aggregates from a Function

Both C and C++ allow you to return by value aggregates, e.g., structs and unions, from a function. However, the runtime overhead of returning large objects by value can be

DevX - Software Development Resource

Designing a Generic Callback Dispatcher

In many applications, you need a generic class that invokes callback functions regardless of their class type. For example, an even-driven system that needs to call a member function of

DevX - Software Development Resource

Accessing a Class-Internal Type

Here’s a common error: you define a class-internal type, say an enum or typedef, and then try to use it as the return type of that class’s member function: class

DevX - Software Development Resource

Overcoming a Common Bug in

The standard functions isalpha(), isdigit(), isprint() etc., defined in the standard header or often fail to produce the right results because they assume that their arguments are of type ‘unsigned

DevX - Software Development Resource

How to Remove Flashing in an Applet

Most of the Java books talk about double buffering for removing theflashing. It solves the problem to some extent but not 100% perfect in caseof flashing. I am giving the