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

Class Scoped Constants

Question: Is there a better way to scope constant values within a class other than by using “enum”? class Foo {public: enum { valueOne = 1, valueTwo = 2 }

DevX - Software Development Resource

Caching JavaScript Files

Question: If I include a .js file using the src attribute of a script tag and then I need to change the content of the .js file (perhaps to correct

DevX - Software Development Resource

Dynamic Report Generation

Question: How can I develop a report such that the user can choose what fields of a (single) table should be retrieved and printed? For example, a customer table with

DevX - Software Development Resource

Remote Mailbox Access Takes Too Long

Question: I am running Microsoft Exchange 5.5 Server with Microsoft Outlook 2000 as client software. For my remote users, they are using the offline folders. Every time a user dials

DevX - Software Development Resource

Detecting Alphabetic Data

Question: How do you detect alphabetic data being entered into an integer field from a cin statement? Answer: The easiest way to do that is by having cin read a

DevX - Software Development Resource

Storing Strings Within an Application

Question: I have a series of strings that I wish to store in the program directory. I want to save them all to the same file and be able to

DevX - Software Development Resource

Securing Images on Your Site

Question: Is it possible to keep someone from downloading an image from my Web site? Answer: It’s certainly possible to secure some of the files on your Web site. The

DevX - Software Development Resource

Informix ODBC Drivers 3.31

Question: I am currently running Informix Dynamic Server 2000 version 9.20 TC1 on an NT server, Service Pack 6a. I have existing Visual Basic 5 applications that are using ADO

DevX - Software Development Resource

DATETIME Type Conversion

Question: I need some help with the DATETIME data type conversion. I have an Informix database running in a UNIX environment and I need to insert the system hour into

DevX - Software Development Resource

Preventing Users from Deleting E-mail

Question: I would like to prevent users from deleting e-mail in Outlook 97 on a Windows 95 or Windows NT workstation in combination with Exchange Server on an NT server.

DevX - Software Development Resource

Possibility of Decompiling an EXE File?

Question: How can I get the source code from EXE files? Does it matter if they are read-only? Answer: This question is asked very frequently. However, the answer is always

DevX - Software Development Resource

Explaining the Modulus Operator

Question: What does the modulus (%) operator do? Answer: The modulus operator returns the remainder of a division operation. For example, 5%2 equals 1 because dividing 5 by 2 gives

DevX - Software Development Resource

Deleting/Expanding a Column

Question: What is the proper method(s) to delete a column from a table or expand the size of a column in a table? Adding is easy. Deleting and changing obviously

DevX - Software Development Resource

Pointers to Class Member Functions

Question: I’m trying to write a program that has a pointer to a private member function of a class. A public member function calls some of the private functions by

DevX - Software Development Resource

Segmentation Fault

Question: What is a segmentation fault? I get it when I try to output an integer. (It’s a very basic program: it reads in an integer and spits it back

DevX - Software Development Resource

Informix OLE DB Provider

Question: I have IDS 7.31.UC2A and I want to register Informix OLE DB Provider on this database server. I need the %INFORMIXDIR%etccoledbp.sql script for running it against the sysmaster. Can

DevX - Software Development Resource

Unconsting a Const Reference or Object

Question: I have encountered a problem as follows: void foo(const int& var){ foo2(var);}void foo2(int& var)… So what I did was void foo(const int& var){ foo2((int&)var); ^^^^^^} and it compiled *_*

DevX - Software Development Resource

Order Objects Constructed on a Window

Question: I have a number of datawindows in a window. In a post-construct event I am making a call to another datawindow. Every so often when I open the window

DevX - Software Development Resource

General Precedence

Question: I am an engineer at GNB Technologies and have been programming for quite some time. Last week a friend of mine asked me an interesting question that stumped me.

DevX - Software Development Resource

The MBFormEx ActiveX control

Add this control to a VB form and onjoy a number of great new features, including: the control over the size and position of the form when maximized, automatic resizing

DevX - Software Development Resource

Generate a Random Whole Number in JavaScript

You can generate random numbers in JavaScript using the Math.random() method. This function returns a fractional random number between 0 and 1. Unlike other languages, JavaScript will initialize a random

DevX - Software Development Resource

Where Are Exception Objects Stored?

Consider the following program: class Exception {}; int main() { try { throw Exception(); // where is the exception stored? } catch( Exception & ex) // catch by reference {}

DevX - Software Development Resource

Heap or Free-Store?

The terms heap and free-store are used interchangeably when referring to dynamically allocated objects. Are there any differences between the two? Technically, free-store is an abstract term referring to unused

DevX - Software Development Resource

Validating Data Entries

Suppose you have an application that reads input from the keyboard. How can you detect whether alphabetic data is being entered into an integer field from a cin statement? The

DevX - Software Development Resource

Change Pages Using the Enter Key

Question: How do I display the next page after a user enters data into a field and presses the Enter key? Answer: This is both possible and fairly easy. Here’s

DevX - Software Development Resource

Generate a Unique Whole Number

Question: How can I generate a unique number using JavaScript? Answer: You can generate random numbers in JavaScript using the Math.random() method. This function returns a fractional random number between

DevX - Software Development Resource

GetYear() Function Is Not Y2K Compliant

Question: I call the following function to display the date in “month, date, year” format. It displays in the right format (for example, January 7, 2000) in Netscape 4.0. But