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

Load a Combobox/Listbox From a Recordset

This is a fast and versatile function for loading comboboxes.I have not included a ComboBox.Clear, to make it possible to load multiple recordsets to the combobox. This makes it more

Rollback Transactions

One of the many functional methods of rolling back transaction(s) in a VB application is as follows: 1) In the procedure containing the Begintrans/CommitTrans methods, declare a Boolean Procedural variable

Extract the ID3 Tag From an MP3 File

Here is a function for extracting the ID3 tag from a MP3 file. Add the following lines of code into a Module: Public Type ID3Data Tag As String * 3

Double Buffering

Double buffering is a process of doing all the drawing first in the memory and then displaying the entire screen at once. It is called double buffering because two drawing

Returning Multiple Values From A Method

Suppose you have some C++ code that you’d like to convert to the Java programming language. While doing the conversion, you come across the following code: void getStats(int data[], int&

Prevent Timer Re-Entry

When using a timer control, it is important to prevent re-entry.This occurs when the processing in the _Timer event takes long enough to still be executing when the next _Timer

Passing Objects ByVal in VB

You can pass Object parameters to a sub ByVal just as you pass other parameters. But what is the difference between passing Objects ByVal and ByRef, since an object variable

Declaring Destructors Virtual

Writing basic classes needs no more definition from the programmer than just declaring a few member functions and variables. But, what if you needed to design a class that was

Remove a Character From a String

Use the following code: Public Function RemoveChar(ByVal str As String, ByVal strChar As String) As String ‘ Function: RemoveChar ‘ ‘ Desc: Extracting requested character from given string. Return value

Another Way To Debug ActiveX EXE Components

An easy way to debug ActiveX EXE Components is to run ActiveX EXE project in the IDE VB environment and then run your client application or client project. But before

A Way To Nest Multi-line Comments

You can use #ifdef & #endif to comment out a block of code that already has multi-line comments.For example: #ifdef COMMENTThis #ifdef removes all nested Code & Comments Code…/* Comments…*/

Understanding Linked Lists

A linked list is a dynamically created area where data can be stored. It contains certain algorithms for collecting data (alphabetically, numerically, etc.). This is like an array but an

Nested For Loop Optimization

You can declare the counter of even the most deeply nested loop as a ‘register’ variable. For example: for (int i = 0; i < 100; ++i){ for (register int

Internal and External Linkage

Global inline functions, consts and typedefs have internal linkage.That means that the declarations in these two files do not interfere with each other: //File1.c typedef int T; const int a

Listing Members in an Initialization List

This tips explains how to list members in an initialization list in the order in which they are declared. Take a class Array: class Array {private: int *m_piData; // ptr

Top 10 Changes in C# Beta 2, Part I

rue to its word, on June 18, Microsoft released Visual Studio.NET Beta 2 to the eagerly awaiting attendees of Tech?Ed 2001 in Atlanta. The availability of this second (and last?)

(The Other) Top 10 Changes in C# Beta 2

s the first new commercial language Microsoft has introduced since Visual Basic 1.0 in 1991 (FoxPro was acquired in June 1992), C# is quickly garnering heavy attention from interested spectators

Tree-Memory Card Game

Unlike most other software on this site, this is NOT a utility for developers. Instead, it is the classic memory cards game, but with Simpsons and Disney’s characters: the purpose

Creating an XML Document: The Way of Speed

If you search the Web and the various articles in magazines and MSDN you can find a lot of documentation about the fastest way of reading an XML document. Speaking