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

Compressed Output From Servlet

The Java servlet below demonstrates how to use compressed output fromservlets. You can compress big chunks of data before sending and they will be decompressed on the fly in the

Debugging an MTS component in Visual Basic 6.0

To debug an MTS component in Visual Basic 6.0, make sure that the MTSTransactionMode property on MTS Objects (VB 6.0 Classes) is set to a value other than 0-NotAnMtsObject. When

The Importance of Virtual Destructors

Some classes in the Standard Library do not have a virtual destructor or virtual member functions by design. These classes include std::string, std::complex, and all STL containers. The lack of

Use Pointers to Parents

When trying to navigate through a complex class hierarchy from any given instance of an object, it’s useful to be able to reference its parent. But how do you clean

Toggle Toolbar Captions Using Tag

Many applications have an option to show the toolbars as text and image or text-only. I have seen programmers handle this with two toolbars and show them based on the

Beware of Object Slicing

Passing a derived object by value to a function that takes a base object by value may cause a problem known as “object slicing”; every additional data member declared in

Run Web Applications in Their Own Memory Space

You can protect the server from a crashing application by running the Web applications in their own memory space. To configure IIS to do this, launch the Internet Service Manager

Count Substrings

This little routine demonstrates how easily you can determine the number of substrings within a string, given any specified separator character(s). Pass the string to be parsed, and the separator,

Killing an Object Prematurely

Sometimes, you need to force an object to destroy itself because its destructor performs an operation needed immediately. For example, when you want to release a mutex or close a

Construct Shortcut to an Interface

hen using a class that implements an interface, it can be frustrating to have to create two variables to reference all the properties of both the interface class and the

Access Your Help and Ini Files Within VB

In small projects I am involved with, I frequently access project-related INI files and help files. At times I work with identical databases on Access and SQL Server, so I

The New __FUNCTION__ Macro

In addition to the traditional macros __DATE__, __LINE__, and __FILE__, which are defined by ANSI C, the new C9X Draft Standard also defines the macro __FUNCTION__. __FUNCTION__ is expanded as

Is it Possible to Decompile an Executable?

Another frequently asked question in C++ newsgroups: “Is there a tool that decompiles an executable program back into C++ source code?” The short answer is “no, there isn’t”. The longer

Force an Object to Destroy Itself

Sometimes, you need to force an object to destroy itself because its destructor performs an operation needed immediately. For example, when you want to release a mutex or close a

Determine Visible Part of a Window

Programmers often need to know whether only a part of a window is visible. This can require a difficult calculation with coordinates. Use this routine to easily determine the visible

Problems with ADO

Question: I was out on the Fox newsgroup and somebody posted some ADO code in Visual FoxPro that alarmed me. VFP seems to have a major problem repeatedly accessing the

Limited Dynamic SQL

Question: I am a technical copywriter currently writing a fact sheet for a software company providing DB2 SQL support. They have something they want to call “limited dynamic SQL.” Here’s

Comparing Columns from Different Tables

Question: I have a problem comparing columns from different tables. I tried: SELECT tblThumBereinigt.Nummer, dbo_BABEWERTUNG.BANUMMERFROM dbo_BABEWERTUNG, tblThumBereinigtWHERE (((dbo_BABEWERTUNG.BANUMMER)[tblThumBereinigt].[Nummer])); but this does not give me what I want. How can I

SQL Syntax

Question: How difficult is it to convert a Sybase Transact-SQL database to SQL/400, and where can I find information on SQL/400? Answer: I don’t know but, in the main, learning

DTS & Data Driven Query Task

Question: I am trying to import data from a .CSV file and verify that the rec importing does not exist on the destination database (SQL7 DB), then either insert or

Comparing Two Tables

Question: How do I compare two tables and extract only where field1 doesn’t match field2? Will MINUS do it? Answer: Yes, but it’s not that direct. To do MINUS (or

Auto-Replying from a Specific Account

Question: How can I configure Exchange Server for simple automatic replies when e-mails are sent to a specific account? Answer: The easiest way to do this is to log in

Using DTS

Question: Is it possible to create a DTS package that does an Update rather than a Select statement? Also, when I save a DTS package in a file (*.dts as

Restoring Tables

Question: Does SQL 7.0 allow you to restore a table from a database dump much the way SQL 6.5 did? Answer: No, not exactly. The only way you can restore

Exchange Temp Files

Question: My Exchange server has two partitions (C and D). There is a file (TEMPDFRAG.EBD) that is on the C drive and is taking up a lot of space. Is