devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

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.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

Network Authentication

Question: The new java.net.Authenticator class in JDK 1.2 seems to be the answer to generalized user-authentication. Why dogetPasswordAuthentication andrequestPasswordAuthentication both return PasswordAuthentication, butrequestPasswordAuthentication requires a security check? Answer: The getPasswordAuthentication

Java 2 Compatibility

Question: Why do I have problems running some programs with Java 2? Answer: Many Java class libraries and programs written before Java 2 use a technique called obfuscation to make

Looped Exceptions

Question: Is there any way to catch exceptions repeatedly, instead of just once? For example, when creating a Date object with a String, an IllegalArgumentException can begenerated and caught. In

Phone dialer

Question: Is it possible to connect and disconnect a Microsoft phone dialer that calls my Internetservice provider from a VB program? Answer: It sure is, and VB makes it very

TreeView Control

Question: I would like to know how I can add, remove, and see if an item is in the TreeView control. For example: Prism Pros 4/30/99 7:39AM 4/30/99 8:00AMMcFarley 4/30/99

Form Load

Question: What happens in the Form Load? If I try to retrieve information from a database (using a DataControl and TextBoxes connected to the database), I can’t get the program

Canceling a call to a dll

Question: In a program, I’m calling a function in a dll. The time before that function is finished can vary from a few seconds to an hour, depending on the

How to Build an Online Help System

Question: How do I create an online help system to use in VB6? Answer: Try the HTML Help Workshop that ships with VB. It allows you to create a help

Registering DLL Files

Question: When I try to register a DLL I created in VB6, I get the message that tells me the DLL is not a valid windows NT image. At the

Maximum length of SQL

Question: Is there a maximaum length of an SQL program? I have used the query designer in Visual Foxpro 3.0 with many lines of criteria. When I try to run

MicroSoft Visual Foxpro 6.0 Grid Control

Question: I have a grid control on a form in Visual Foxpro. I want to keep it unbound and then later fill it with data. I set the recordsource property

MMX code in C++

Question: I am involved in a project the aim of which is to demonstrate the effectiveness of MMX for image manipulation. For this project I need to write some MMX

Is ‘delete this;’ a good idea?

Question: We have a use counted object with addRef() and removeRef() functions. When the reference count gets to 0, we want the object to be deleted. Is { delete this;

IRQ7 handler

Question: How can I handle in Windows an IRQ7 interrupt, generated by my own measurement device connected to parallel port? It was easy in DOS. Any generic code would be

How to Time a Set of Threads

hen you time a set of threads, you generally want to know thetime elapsed between when the first thread starts and the last threadfinishes. When you time a single thread,

Disconnected Recordsets

ne of the great and flexible features of the amazing elastic ADO recordset is that it can be disconnected from its data source, modified, and reconnected to update the data

What are Lvalues and Rvalues?

An object is a contiguous region of memory storage. An lvalue (pronounced: L value) is an expression that refers to such an object. The original definition of lvalue referred to

Loading Resources With the getResource() Method

Most nontrivial applications are packaged with “resource files,” which are nothing more than files used by the application for various purposes. Some examples of these resources include image (GIF, JPEG)

Fast String Array Load and Save

VB6 offers a couple new string functions that work with string arrays. One of these new string functions, Join, concatenates all the items of an array into an individual string

Yet Another Wrinkle in BCP

It is now easy to create scripts using the functionality in T-SQL to automate the loading of data into SQL Server with the addition of the bulk insert command in

Listing Remote Objects in Registry

When creating programs that use Remote Method Invocation (RMI), you’ll need to obtain a reference to a remote object. Although the name of the specific object will usually be pre-defined

Hexadecimal and Octal Literals

Hexadecimal and octal literals are indicated by special prefixes. A hexadecimal literal is indicated by the ‘0x’ prefix: int n =0x1000; // decimal value of n is 4096 An octal

Create Summary Tables Efficiently

Suppose you have a table that contains transactions for different products and clients. Each day you need to summarize this information. If you need to know the sales figures for

Using Types as Template Parameters

A template can take ordinary types such as int and long as parameters: template class Array // type int used a parameter {/*

Event Thread and Painting

Java uses the event thread to notify listeners of events by making calls to methods such as actionPerformed() and itemStateChanged(). However, this same thread is also responsible for repainting components.