
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 tried to set up Outlook 2000 on my laptop (it uses Windows 98) to connect via dialup to the Exchange server running on my Small Business Server

Question: I’m new to Exchange Administration and was wondering how to clean out my mailbox on the server. I’m showing a lot of messages even though I have all my

Sometimes you need to convert a certain datatype to its binary stream ofbytes. An easy way to do it is to create a union that has two members:the datatype in

The type of the most derived object to which an expression refers is said to be the dynamic type of that expression. For example, if p is declared as a

Another useful STL algorithm is replace(), which is defined in the standard header and has the following prototype: void replace (ForwardIterator start, ForwardIterator end, const T & old_value, const T

A value of type bool can be converted implicitly to a value of type int, with false becoming zero, and true becoming one. For example: bool b = false; int

The classic implementation of the swap algorithm looks like this: void swap (int & i, int & j) { int temp = i; i = j; j = temp; }

On 32-bit platforms, int and long usually occupy the same size. Programmers use these types interchangeably when they need a 32-bit integer. However, on 64-bit architectures, long is often represented

Merging two lists isn’t only a popular homework assignment; rather, this task is sometimes needed in real world programming as well. Fortunately, you don’t have to reinvent the wheel anymore.

Question: I have a datawindow with a few columns. I have written a menu through which I can sort the existing data alphabetically or by value. Whenever a new row

Question: I’m looking for an “SQL builder” component that I can plug into a VB application that is end-user-friendly. Essentially, I would like the component to allow users to use

Question: How can I give the user the option to print only one page in a Visual FoxPro report? Answer: The REPORT FORM command has a RANGE parameter. Here is

Question: How do I pick up useful data from a TXT file and insert it into a database? Answer: You can tackle this problem two ways. If your data follows

Question: How can I run an image viewer in a window portion of a form in Visual FoxPro alongside a scrolling list box? Answer: Here is how to create a

Question: I have two questions about arrays. I have a 2D array of floats. I want to init everything with 0.0f. There must be a better way than going through

Question: What is giving me a redefinition of CMenuItems class error in this code? //cmenu.hclass CMenuItem { public: char title[81]; virtual void Do_Command(void)=0;};//*********************//CMDS.CPP Defines and initializes menu commands.#include #include #include

This extended ListBox control adds many features that are missing in the standard VB control, such as support for bitmaps, control on the height, forecolor, backcolor, and font of individual

When you have a 32-bit color value, you can convert it to a grey-scale – that is, you can determine how it would appear on a monochromatic display (more or

You can easily create a ListBox control similar to the one found in the VB’s Project References dialog box, that lets you select multiple items and move them up and

When dynamically changing the bound ADORecordset for a DataCombo or DataList control, the order you follow when assigning the properties is important. This is the correct sequence of operations to

When you want to process the data in a Recordset without affecting the actual values in the database, often the Clone method isn’t what you need. For example, if you

If you have a 32-bit color value in RGB format, you can extract its Red, Green and Blue components using the following routines: Function GetRed(ByVal lColor As Long) As Long

You can customize your applets by providing parameters at runtime in . But it is a good practice to always provide default values, when specific values for parameters are not

You can generate Random numbers in Java using the Random class available in java.util package. The following is a code which generates Random numbers between 0 and 100: import java.util.Random

Although the Scripting Object Model (SOM) in Visual InterDev 6 makes for quick development, it doesn’t cover all the functionality that you need. For example, in Visual Basic it is

Primitive datatypes in Java are always a passby value. You can pass them by reference, by wrapping the data in to single element array. Here is the code (Tested on

A pretty typical scenario is a drop-down list box with a standard default selection that instructs the user to choose an option. It is enclosed in tags, which the user

Question: How does a servlet handle GET and POST requests? Answer: The HttpServlet abstract class, defined in the javax.servlet.httppackage, contains several methods that simplify interacting with HTTPrequests. Two of the

Question: How can I access the next and previous rows in a ResultSet when Iconnect to a database through a JDBC driver? Answer: The JDBC 1.0 API only allows you

Question: I need to have a drop-down box (combo probably) which allows multiple selections. The list box does this but there is no room to have the number of list











