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

Don’t stop timers when a MsgBox is active

Not all developers know that Timer controls in compiled VB5 and VB6 applications aren’t stopped by MsgBox statement, so the Timer’s Timer event procedure is regularly executed even when the

Registering DLLs in DHTML Applications

Question: I’ve just started using DHTML in Visual Basic 6.0 and have encountered a few glitches. When using ActiveX DHTML, where does the compiled DLL file have to be stored

Place Image in an Absolute Position

Question: I’ve been using the Microsoft ActiveX image control to place my images in absolute positions on my Web page. However, I have run into problems with this image component

The Advantages of XML Over CSV

Question: What is the advantage of XML over say, a comma delimited file? If you’re using it for data transfers between platforms, I would think that always having to explicitly

Creating Images on the fly with ASP Pages

One of the impressive features of Active Server Pages is the ability to deliver fresh, active content in direct response to user input. In addition to creating responsive text, you

Execute DOS and Windows Programs from ASP

Although it is usually more efficient to use a Dynamic Link Library (DLL) that meshes well with the Internet Information Server (IIS) and Active Server Pages (ASP) environment, you may

Alpha Resource IDs can Spell Trouble

Resource files are a great way to store text strings and images, but beware: Use of a resource file can override the property setting for your application’s icon. When Windows

Align Text on a Command Button

If you’ve ever wanted to align text on a command button and found you can do it only by using spaces in the caption, there are a couple of constants

Retrieve Localization Strings

Use this API function wrapper to retrieve localization and personalization information: Private Declare Function GetLocaleInfo Lib _ “kernel32” Alias “GetLocaleInfoA” (ByVal _ Locale As Long, ByVal LCType As Long, ByVal

Learning C++ From Scratch?

One of the most frequently asked questions I receive is: “How can I learn C++?”. First, remember is that C is not a pre-requisite for learning C++. In fact, as

Give Meaningful Names to Magic Numbers

“Magic numbers” are arbitrary constant values that indicate array bounds, maximal number of open files, the size of a memory page, and similar environment and program-specific units. Instead of using

Using Command Line Arguments

You can directly pass arguments to a program. For this purpose, you have to declare these arguments in the parameter list of main(): int main (int argc, char ** argv){}

Use Explicit Access Specifiers

C++ provides default access specifiers when you don’t use spell them out explicitly, as in the following examples: struct Employee{ /*..*/};class Manager : Employee //implicit public inheritance{ int rank; //implicitly

Guidelines for Overloading the + Operator

The built-in + operator is a binary operator that takes two arguments of the same type and returns the sum of its arguments without changing their values. In addition, +

Distinguishing Between Copy Ctor And Assignment Operator

Although the copy constructor and assignment operator perform similar operations, they are used in different contexts.The copy constructor is invoked when you initialize an object with another object: string first

The offsetof Macro

The macro offsetof (defined in or in C) calculates the offset in bytes of a struct’s data member. The following example uses this macro to calculate the offset of two

The Boost Web Site

The Boost web site offers various free C++ libraries and classes. These supplementary libraries and classes include a random number generator, four smart pointer classes, file system tools, timer classes,

Designing Custom Components Using Scriptlets

Question: Can I design custom components using scriptlets? Answer: Yep, that’s what they’re for, actually. Scriptlets encompass a number of technologies. With Microsoft Internet Explorer 4.0, for example, scriptlets were

Working With Large Files and Data Sets

Question: I am working on a program that uses XML for data archival. This data archive creates XML files in the multi-megabyte range (5 MB – 500 MB and greater).

CSS With Multimedia Elements on Page

Question: Is there a way to layer page elements through Cascading Style Sheets (CSS) over an embedded element such as a Shockwave movie? My present page has a sliding graphic

File.createTempFile()

Question: I am attempting to use createTempFile and it works fine with JDK 1.2.2,but IE 4 and 5, and Netscape give me the following error: java.lang.NoSuchMethodError: java/io/File: methodcreateTempFile(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; notfound. Why

ProgressMonitor

Question: How do I use the ProgressMonitor class? Answer: The ProgressMonitor class is a convenience class that saves you fromthe hassle of creating your own dialog with a JProgressBar. It

Problems with VB6, Access 2000 and ADO

Question: I am doing a project where VB6 talks to Access 2000 thru ADO. I am using a login dialog to obtain the username, password & DSN (ODBC Data source

The new Operator

Question: Is it necessary to check return value after a “new” statement?Does it return null when it cannot allocate any more memory? Answer: You do not have to check the

DataGrid

Question: I want to extract data from a specific column in a grid control. When the user selects a record in the grid, I want to take the data from