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

Wireless Special Report: Marching Toward Mobility

Building Weapons of Mass Communication As wireless devices invade the enterprise they present opportunities to empower workers and improve productivity via mobile applications. But they also threaten enterprise security and

Vectors Containing Arrays

Question: I’ve got a struct which is declared as having two fields: int position;char tile-id[6]; When I use this in a vector, I can use the [] notation to initialise

Informix Configuration on NT

Question: How do I program Informix to insert newline characters into CHAR(500) fields? Answer: A char field is defined as ending with a newline, so I don’t think you can

Hyphen Or No Hyphen When Accessing DBACCESS

Question: When accessing DBACCESS from a script, what are the consequences of leaving out the hyphen? What should we adopt as a standard, hyphen or no hyphen? Example: dbaccess mystores

Exchange and .PST Files

Question: How do I import my user’s .PST files directly into Exchange without having to log in as the user and import the files via Outlook? Answer: You might be

Build an XML Document for a Recordset on the Fly

(Note: This tip assumes that you have an ActiveConnectionsetup to your DSN.) This function creates an XML document from an ADO Recordset, programmatically. Public Function CreateXML(strRoot As String,strSQLStatement As String,

Default Script Error Handling on Your Web Pages

The unhandled or unexpected script error is a real issue these days. Script errors can be seen even on many of the professionally designed Web sites and Web-based customer applications.

How to Convert ADO RecordSet into the HTML Table

The following code converts an ADO recordset into an HTML table by using the GetString function of the recordset. This method does not involve the looping or MoveNext method; it

Export HTML Table to Excel

Here is a simple way to export an HTML table to Excel with a single line of code. For the technique to work, you must have Excel installed on the

Don’t Buffer Your ASPs

Using the Buffer propertyof the Response object to buffer Active Server Pages (ASPs) generally isn’t a very good idea.When you buffer an ASP, none of thepage is outputted until the

Choose Appropriate Image Format

A major problem with using images on Web sites is thatimages take much longer to load than text. So you haveto choose your image formats carefully. Two image formats are

Using Web Dialogs in IE

Opening a new browser window is a handy but sometimes misused feature. Eventually, your user ends up with tons of open browser windows they just forget about. Sometimes a Web

Differences in Execution Flow

Question: Why would a program not yield any errors, and yet not run on one system, while resulting in a perfect run (unchanged) on another system? Specifically, a switch statement

Exporting Informix

Question: I need to migrate Informix data to an Oracle database. The current application front end imports with CSV files. Can Informix export to a CSV file? Answer: There is

ODBC drivers for Informix IDS 9.2

Question: We are trying to get our application to work with Informix using ODBC, and we are having repeated failures. We cannot seem to access “memo” (large text) fields of

Using Ports with Informix

Question: From a Windows system I am trying to connect to an Informix database running on a Sun Solarix box, which was just moved behind a firewall. The Windows machine

Chunk is Down

Question: We are using IDS 7.30 FC7 on DEC/Unix 4.2. Two separate OnLine works on the same machine. Let’s call them OnLine1 and OnLine2. While adding a new chunk (not

Error in Visual Studio Data View with CLI 2.40

Question: I have installed the Informix-CLI SDK 2.40 (driver ODBC rev. 3.31) both in Windows 98se and NT 4 sp4, and I’ve encountered a problem with Visual Studio Data View

Join on Key Fields of Differing Data Types

Question: I am trying to create some reports with a third party reporting tool accessing an Informix 7 database, which was not written by us. I want to join two

Using Mapinfo with Informix

Question: I want to use Mapinfo with an Informix database, but I can’t connect the database server from Mapinfo. The Informix dynamic server version is 5.0. My network protocol is

The AVEPopup ActiveX control

This ComboBox-like ActiveX control lets you host nearly every coincevable control inside it, so that you can save precious screen estate. For example, you can host a TreeView or a

Functions Are Extern by Default

Unless explicitly declared static, an ordinary function is implicitly declared extern in C and C++. For example: extern void func(int i); // extern is redundant However, sometimes the extern qualifier

What You Can Learn from Compiler Warnings

The following code has a subtle bug. Can you detect it? DWORD ErrCode = GetLastError(); // Retrieve the error codeif (!ErrCode==ERROR_FILE_NOT_FOUND) // warning on this line Although the compiler cannot

Short-Circuiting String Comparison

Normally, you don’t need to implement operator == for comparing string objects, as it’s already defined for you. However, for certain applications, you might need to provide a different version

Optimize Oracle’s SQL Statement Cache

When Oracle receives a SQL statement to execute, it first looks to see ifthe execution plan already exists in its cache. If the statement does existin the cache, the previous

Move a Form by Clicking Anywhere on It

The following code allows you to move a form by clicking anywhere on the formand dragging it: Option Explicit’define module level variables to store the last position of the form,

Counting “Live” Instances of a Class

Counting the number of object instances of a certain class can be necessary in debugging and performance tuning. To do that, declare a static data member as a counter, and