The Latest

DevX

Inheritance in C++

Question: In order to have better maintainability and optimum performance, how many levels of inheritance do you recommend ? Answer: Performance is not affected by the depth of inheritance. The

DevX

Form with One Text Field

Question: I see search pages that allow text input, then pressing the ENTER key is the same as pressing a link or pushbutton. How is this done? Answer: If a

DevX

When Not to Use Query Strings

You should not use query strings when you are passing hidden information and when you are passing large chunks of data. A query string is not hidden in any way

DevX

The MB MouseHelper Control

This ActiveX gives you the complete control over the mouse. The MouseEnter and MouseLeave events tell you when the mouse cursor enters or leaves any control on the form, which

DevX

GetObjectGUID – Retrieve the GUID of a COM object

‘ Return the GUID of the object specified in the first parameter’ Be sure that “TypeLib Information” type library (TlbInf32.tlb)’ is referenced in your VB project.Function GetObjectGUID(Object As Object) As

DevX

GetProcID – Retrieve the DispID of a procedure

‘ Return the DispID of a procedure’ ProcName must be set to a procedure name of the object’ specified in the second parameter.’ Be sure that “TypeLib Information” type library

DevX

Layout Manager for Scrolling DIV’s

A scrolling DIV is a great way to display a large amount of data without resorting to frames. Setting the CSS-2 OVERFLOW property to auto will make the DIV into

DevX

Avoiding Confusion about an Import Statement

Every source file in Java (.java file) contains one class. You can bundle a set of related classes into a package. Java provides “import” keyword, which is used to establish

DevX

Attach UpDown Control to Textbox

In Windows Common controls, we have an UpDown control. It can be attached toany textbox. It gives the user the appearance that he or she can control (increment or decrement)

DevX

Showing Rows of a Table in Columns Format

Sometimes in our database structures we’ve got to store information in such a way that it allows us to increase/decrease the type of data we store. For example, we have

DevX

Creating a Java VM

Here is the code ready to use and written in C, to create a JDK 1.1 Java Virtual Machine. #include int main() { JDK1.1InitArgs data; JNIEnv *env; JavaVM *jvm; jclass

DevX

SubQueries in the FROM Clause of SELECT

When a SubQuery is used in a FROM clause instead of a Table name, Oracle executesthe subquery and then uses the resulting rows as a view in the FROMclause. It’s

DevX

Using ROWNUM Pseudocolumn in Oracle

When querying in Oracle, use ROWNUM pseudocolumn to limit the number of returned rows. Pseudocolumns behave like table columns but are not actually stored in tables. (Other pseudocolumns are RowId,

DevX

Use Select Case When Validating Sequential Steps

When validating a set of sequential steps, the Select Case structure can beused to step through each validation method. As each Case is cycledthrough, the validation method is called to

DevX

Implementation of LookupAccountName() in VB6

Question: We’re trying to: Get the Logon Windows NT id for an Exchange mail box Get the Security Identifier (SID) corresponding to the Windows NT id (using advapi32.dll api’s) Map

DevX

Displaying Card Titles

Question: I have developed a WAP application using the Nokia SDK, and all appears well. Our project team leader uses the emulator from phone.com and it does not display the

DevX

Keep Your MDI Form Maximized

MDI forms do not allow you to remove the Min/Normal-Max/X or Control Box.Many times you want the MDI Form to remain in the Maximized state. One way to accomplish this

DevX

Migrating NetFolder Calendar to Exchange

Question: Our company uses NetFolders to share the company calendar, which has extensive listings. We are about to install Exchange 5.5. What’s the best way to move the calendar intact

DevX

Using the IRDA Port in Raw Mode

Question: I am using Windows 2000 and would like to access the IRDA port in raw mode. That is, not use the Winsock API but instead just send serial data.

DevX

Using the Gateway Server

Question: We have a Web-enabled application running. The ASP has been written to generate a WML/HTML response. This has been tested using a simulator from Phone.com. What should I do

DevX

Different Displays on My WinWAP Browser

Question: I am developing for an AT&T phone made by Mitsubishi. It correctly formats and displays WML cards until I try to use input boxes or any other type of