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

A static class member

A class member declared static is a single instance of that member shared by all instances of this class (that’s why it is sometimes termed a class variable, as opposed

DevX - Software Development Resource

Placement new

Operator new allocates memory from the heap, on which an object is constructed. Standard C++ also supports placement new operator, which constructs an object on a pre-allocated buffer. This is

DevX - Software Development Resource

Namespace aliases

Choosing a short name for a namespace can eventually lead to a name clash. On the other hand, very long namespaces are not easy to use. For that purpose, namespace

DevX - Software Development Resource

Avoid using double underscore in your identifiers

Identifiers starting with __ (double underscore) are reserved for C/C++ implementations and standard libraries. Furthermore, C++ programs are transformed by the compiler (inline substitution, addition of this as an argument

DevX - Software Development Resource

Control Arrays are Collections

Most VB4 programmers know they can access a form’s control collection using a For Each loop. Many, however, are not aware that individual control arrays are actually collections. This knowledge

DevX - Software Development Resource

Support a Font the Printer Doesn’t

Often users print from applications that support a font the printer doesn’t. An error occurs if an application uses a statement such as Printer.Print SomethingToPrint following a Printer.FontName = FontName

DevX - Software Development Resource

Center Forms with Taskbar Visible

Just about every VB developer uses the Move (Screen.Width – Width) 2, (Screen.Height – Height) 2 method to center the forms on screen. However, when the user has the Windows

DevX - Software Development Resource

Set a Flag to True/False

When you want to set a flag to True or False, depending on the results of a comparison, you don’t need to use an If statement like this: If x

DevX - Software Development Resource

Navigating the Object Hierarchy

Question: I am trying to process a table and its rows and cells on an HTML page. I have given the Table, TR and TD elements IDs. I am trying

DevX - Software Development Resource

NT Workstation DualBoot with 95

Question: I have Windows 95 OSR 2 installed (FAT32). Should I be able to install NT Workstation/Server as a dual boot option? Whenever I run setup.exe I get a message

DevX - Software Development Resource

String literals are const

According to the C++ standard, the following line is illegal: char *s = “hello world”; //illegal Though still supported by many compilers, it’s deprecated and should be avoided. The reason

DevX - Software Development Resource

A general base class – is it such a good idea?

In many frameworks and software projects, all classes are enforced to be descendants of one common generic class, usually named Object. This design policy prevails in other OO language such

DevX - Software Development Resource

When can an empty class be useful?

A class containing no data members and no member functions is an empty class. It’s defined like this: class PlaceHolder {}; What’s it good for? It can serve as a

DevX - Software Development Resource

Invoking a JavaScript Function

For the two major browsers, the easiest way to invoke a JavaScript function is create a java.net.URL instance using the JavaScript: protocol handler. To invoke the JavaScript command, pass the

DevX - Software Development Resource

Display Horizontal Scrollbar

Unlike the Windows 95 common controls, the standard list box doesn’t have a horizontal scrollbar when list items are too wide to fit within the list box. Fortunately, it’s not

DevX - Software Development Resource

Get the True Member of an Option Array

Setting an element in an array of option buttons to True is easy. Click on the option button, or use this code: OptionArray(ThisOne) = True ThisOne is the Index of

DevX - Software Development Resource

Browser Detection from Applet

The Java core API includes a class called java.lang.System from which system dependent operations can be performed. One of the methods of the System class is getProperty(String) which will return

DevX - Software Development Resource

Protect Data Within Modules

Use Private variables in BAS modules to protect data that the module’s routines must access, but which should be hidden from the rest of the application: Dim hidden_data As IntegerFunction

DevX - Software Development Resource

Convert a Text File into Access MDB

It can be troublesome to convert a text file into an Access database. It takes a lot of time to open the file for sequential access and create new records

DevX - Software Development Resource

Debug Error Handlers

Visual Basic gives you the option to turn off error trapping in your projects. This is useful when you suspect that your error handlers contain errors themselves. To turn off

DevX - Software Development Resource

Quick and Easy SCHEMA.INI

To create a SCHEMA.INI file for a text file quickly and easily, let the ODBC setup and drivers do it for you. Go to the Control Panel and start ODBC.

DevX - Software Development Resource

Use Boolean Variables for Check-Box Values

Visual Basic specifies a Boolean’s default values as zero for False and -1 for True. You may save and set the value of a check box, based on the absolute

DevX - Software Development Resource

SQL and Tables

Question: If I have a table open, can I execute SQL.Open?I was going along fine querying different tables, but now I have a table.open and am trying to query the

DevX - Software Development Resource

Who Has File Open on NT Server?

Want to know who has a particular file open on your NT Server? In NT 3.51, you could use File Manager to select a file on your server, use the

DevX - Software Development Resource

Estimating Resource Percent Allocation

When generating project plans or timelines, never consider a resource as being 100% available. Most tracking tools allow you to put in the resource percent allocation. Even if someone is

DevX - Software Development Resource

Center Page Vertically

Question: How do I center a page in a window vertically, without using returns or tables? Answer: It’s easy to center the page horizontally–all you need to do is use

DevX - Software Development Resource

Resizing Images on the Fly

Question: I know that with DHTML, it is possible to resize images using the Onmousover event handler, but the example shown on the Microsoft Dev site involves basically switching between