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

Read and write File ODBC data sources

A file DSN is nothing but a text file that contains all the parameters for an ODBC connection. To prove this, just go to the default directory that holds all

DevX - Software Development Resource

All the Changes, All the Time: Part II

o briefly recap the situation I described in “All the Changes, All the Time: Part I“, my assignment was to capture all the changes being made in one database and,

DevX - Software Development Resource

Connecting SQL Server 7.0 and MS-Access

You can connect a MS-Access database to SQL Server as a linked server, and query Access tables in SQL Server’s Query Analyzer. This can help in porting data from Access

DevX - Software Development Resource

Non obvious uses for the LIKE operator

LIKE is probably the VB operator is most underutilized if compared to its potential. The most immediate use for this operator is to check that a string begins or ends

DevX - Software Development Resource

Call One Constructor from Another Constructor

Constructor is a special kind of method which gets called automatically whenever the object is created. One class can have zero, 1 or more then 1constructors. Basically, you can overload

DevX - Software Development Resource

Confirmation on Unsaved Form Data

Question: I have several forms in different pages which are linked using a tab approach. I would like to pop-up a confirmation window if someone is moving from one tab

DevX - Software Development Resource

Code Problems in Netscape

Question: Why is the following code not working? Javascripts January Februrary March 1 2 3 4 5 2000 2001 passdate1: January Februrary March 1 2 3 4 5 2000 2001

DevX - Software Development Resource

Loading Different CSS Styles

Question: How can I make different CSS styles to be loaded depending on the platform a user has (Mac or PC)? Answer: The simplest way to do this is to

DevX - Software Development Resource

Managing the Hourglass

It can be very useful to have a central public function for manipulating themouse pointer in a Visual Basic application. This function can help youorganize how the hourglass is shown

DevX - Software Development Resource

Name Property Is Case-Sensitive

Always be careful when checking adoRS.Fields(i).Name, the stringfor this property is case sensitive. If in a database there’s a field named BANK_BALANCE_AMT,RS.Fields(i).Name will not recognize “bank_balance_amt”: In such a case

DevX - Software Development Resource

Introducing C++ Locales

The standard locale framework was added to ANSI/ISO C++ in 1994. In essence, it consists of template classes called “locales”, which use facets. A facet represents a certain cultural convention

DevX - Software Development Resource

Initializing Object Members

Consider the following class: class A{public: A(int size);private: int size;}; You can initialize the member size in at least three forms: A::A (int size) : size (size) { } //

DevX - Software Development Resource

Simulating Multidimensional Arrays Using Vectors

Although you can allocate multidimensional arrays manually, as in: int (*ppi) [5]=new int[4][5]; // parentheses required // fill arrayppi[0][0] = 65;ppi[0][1] = 66;ppi[0][2] = 67;//

DevX - Software Development Resource

Avoid Redundant Inline Declarations

Remember that functions defined inside the class definition are implicitly inline. Therefore, the inline keyword is redundant in the definition of the member function of the following class: class Employee{public:

DevX - Software Development Resource

Copying Files with File Streams

To copy the contents of one file into another, use the fstream classes. First, open the source file using an ifstream object, then create a target file using ofstream, and

DevX - Software Development Resource

Making Better Use of Garbage Collector

Imagine you have an enormous object serialized on disk that you are using in memory, or that object is loaded in memory. You want to allow the garbage collector (GC)

DevX - Software Development Resource

Implementing Callback Routines

One of the easier ways of implementing an event-driven programming model is through passing function pointers which are invoked when an event occurs. But because Java doesn’t support the notion

DevX - Software Development Resource

Controlling Debugging Information

Debugging is a core part of application development in Java. Programmers tend to use System.out.println & System.err.println in the code everywhere, which becomes uncontrolled as the program evolves. This becomes

DevX - Software Development Resource

Getting Around a Bug in Testing Your Applets

If you’ve tried using the Java Plugin to test your Applets and got a mysterious “Security Exception,” then you’ve run into a known, but unadvertised bug. For a complete description

DevX - Software Development Resource

Checking for Value “NaN”

Question: Why does my if statement if (final == “NaN”) { window.alert(“You…are…a…dunce. Hit reload to try again.”);} fail to detect when final is “NaN”? It always goes straight on to

DevX - Software Development Resource

Date Conversion from Seconds to Normal

Question: Is there some way to write a function that converts a date that is in seconds since December 31, 1969, into a normal date format? Like this: date from

DevX - Software Development Resource

WAP Security Issue

Question: When encrypted information is being interchanged between a client and a “secure” server through WAP, does the information ever lie decrypted on the WAP gateway or does the client

DevX - Software Development Resource

SQL with Unix Arguments

Question: How do I pass arguments from a Unix shell onto SQL for various SQL statements (e.g., select * from $tablename, create table $TABS, etc.)? Also, how do I get

DevX - Software Development Resource

Disabling Right Clicker on Mouse

Question: Is it possible to disable the user’s right click button using JavaScript? Answer: Is it possible? Yes. Oh, you wanted to know how to do it… Keep in mind,

DevX - Software Development Resource

Placing Child Window

Question: How do I make a child window go behind its parent window when a button is clicked? I know self.focus() brings a window forward. I need the opposite of

DevX - Software Development Resource

Blocking E-mail from Specific Address

Question: How do I block an e-mail address from sending messages to our server? A former employee keeps sending messages from his outside account to our current employees. I have

DevX - Software Development Resource

Focusing on Field

Question: I am using onblur method on text fields. Based on Validation I want to put the focus back on field. function fldfocus(fldname) {if (navigator.appName==”Netscape”) {document.Layers[fldname].Focus();else {document.all[fldname].focus();}} On Netscape it