The Latest

DevX - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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 - Software Development Resource

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

DevX - Software Development Resource

The URLLabel Control

This control is a label/picture with hyperlink functionality. All you’ve to do is to place URLLabel on a form, choose the style (Underline, NoUnderline, GotFocus, Graphic), the color or picture

DevX - Software Development Resource

A guerrilla course on COM(+) security

Introduction Most developers hate to deal with securityissues; that’s why the security-design subject is, most of the time, left out from the “typical developer” MSDN surfing and the application prototypes