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

DevX - Software Development Resource

Reduce the Clutter in Your VB IDE

Here’s another simple but useful add-in you can add to your arsenal. Follow the directions given in the previous tip “Add Remarks to Your Procedures,” with only minor differences. Use

DevX - Software Development Resource

Hide Enumerations for Validation

VB5 introduced support for enumerations, which are related sets of constants. Although you can declare a property as an enumerated type, VB lets you assign any long integer value to

DevX - Software Development Resource

Component Fails When Used Within ASP

Question: I am working on system that is built from many pieces, but they all use certain common settings. I developed a simple ActiveX DLL that reads those settings from

DevX - Software Development Resource

Determining Client Information

Question: I am trying to set up a small intranet and was wondering if there is a way to determine the client’s workstation name (for example, Computer Name in Control

DevX - Software Development Resource

Displaying Exceptions’ Description

Standard exception classes are derived from std::exception (defined in the header). They all implement the member function what(), which returns a const char * with a description of the exception:

DevX - Software Development Resource

Easily Assign Containers

STL containers overload the assignment operator, thereby allowing you to easily assign containers of the same type to one another: #include #includeusing namespace std;void main() { vector vi; vi.push_back(1); vi.push_back(2);

DevX - Software Development Resource

Where is That Serialized Hashed Key?

When serializing a Hashtable in Java, make sure that the keys used to store objects are either primitives, or the key class’ hashCode() method overrides the superclass Object’s hashCode() method.

DevX - Software Development Resource

Customize Your 404 Page

Even if your Web site is rock-solid with no broken links on it anywhere, chances are someone is going to see a 404 File not Found error page someday, if

DevX - Software Development Resource

Sorting a Two-Dimensional Array With <=>

The Perl sort function is useful for alphabetically sorting lists. However, you can’t use it on a list of lists, because once a list starts listing other lists, they cease

DevX - Software Development Resource

Serializing and Deserializing Objects

The serialization mechanism in Java provides the means for persisting objects beyond a single run of a Java program. To serialize an object, make sure that the declaring class implements

DevX - Software Development Resource

Display Read-Only Data on Your Web Pages

You can do a lot of cool things using Microsoft’s Remote Data Services (RDS). For example, have you ever wanted to display a field from a database table read-only in

DevX - Software Development Resource

Non-Virtual Multiple Inheritance

Virtual inheritance is used to avoid multiple copies of a base class in a multiple-inherited object. However, there are cases where multiple copies of a base are needed in a

DevX - Software Development Resource

Obtaining and Using an Object of the Type Class

The java.lang package defines a class called Class. The Class class is different from the class (with a small ‘c’) keyword used to declare Java classes. The Class class is

DevX - Software Development Resource

Two-Dimensional Arrays in JavaScript

Technically, JavaScript doesn’t support multi-dimensional arrays, but you can simulate a two-dimensional array by creating an array of arrays. This can be particularly useful if you want to create a

DevX - Software Development Resource

Inheriting From the Object Class

The Object class in Java is a superclass for all other classes defined in Java’s class libraries, as well as for user-defined Java classes. In object-oriented terms, an object is

DevX - Software Development Resource

Detecting Your Machine’s Endian

The term endian refers to the way a computer architecture stores the bytes of a multi-byte number in memory. If bytes at lower addresses have lower significance (Intel microprocessors, for

DevX - Software Development Resource

Initializing a Union

It is possible to initialize a union. Yet, unlike struct initialization, the initialization list of a union must contain a single initializer that refers to the first member in the

DevX - Software Development Resource

Collision Detection in DHTML

Collision detection is a fundamental part of game programming. It is also useful for many other aspects of user interface design. Being able to tell if one screen object has

DevX - Software Development Resource

Spawning New Processes From a Java Program

The Java Runtime Environment (JRE) shields Java developers from the system level burdens of starting and stopping processes. A Java application runs inside the JVM, while a Java applet runs

DevX - Software Development Resource

Detecting the Browser Window Size With DHTML

Some users always maximize their browser window, while others like to keep it small. Not knowing the size of the client window can cause formatting problems for HTML pages; tables

DevX - Software Development Resource

Octal Numerals

A literal integer preceded by 0 (zero) is an octal numeral. When using octal numbers, you should beware of the following common pitfall: const int warning = 10;const int error

DevX - Software Development Resource

Private Inheritance

When a derived class inherits from a private base, the is-a relation between a derived object and its private base does not exist. For example: class Mem_Manager {/*..*/};class List: private

DevX - Software Development Resource

CreateProcess in Windows NT

Question: I am using CreateProcess to run applications in Windows NT. I cannot start any applications that are located in the directory Program Files. The user properties are set the

DevX - Software Development Resource

Using Proxy Classes in Java

The Proxy is one of the most common design patterns in circulation. Gamma et. al. define the intent of the Proxy as: “Provide a surrogate or a placeholder for another

DevX - Software Development Resource

Weaving Threads

Java provides two ways to create and run a thread. You can implement the Runnable interface or extend the Thread class. The Runnable interface defines a single method run(). Consider