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

Tackling the Conundrums of Constant Expressions

onstant expressions are tricky. Not all of them have an overt const qualifier. Furthermore, in some cases, a const-qualified variable is just a constant, but not a constant expression. These

An Open Source AJAX Comparison Matrix

pen source AJAX frameworks and toolkits have matured to the point where they can handle just about any rich Internet application development task. To provide a reference guide for how

Which AJAX Library Is Right for Me?

o you want to jump into the AJAX (asynchronous JavaScript and XML) development fray, but you don’t want to make the XMLHttpRequest calls directly by writing the XMLHttpRequest code yourself.

Putting AJAX Frameworks to the Test

ot so long ago, developers had to work directly with the XMLHTTPRequest object or use some very rudimentary libraries to get any AJAX work done. When I wrote my first

Build Custom Code Generators in C#

uite simply, code generation involves taking a small amount of input and generating a large amount of code from it. Often the structure of the output is very complicated and

An Easy Way to Find All Open Forms in VB.NET

It’s really simple to determine whether a form is open?simply use My.Application and My.Forms in .NET: Dim frm As Form For Each frm In My.Application.OpenForms If frm Is My.Forms.TheFormINeed Then

Call a Java Method from XQuery

This tip shows you how to develop XQuery queries that may call any other method. The method called in this tip is java.lang.Math.random: declare namespace m=”java:java.lang.Math”;let $r:=m:random()return $r

Build an Entity Resolver to Redirect a SAX Parser

This tip shows you how to bulid an entity resolver to “change” a public indentifier into a system identifier. The idea is to override the resolveEntity method of the EntityResolver

When and How to Use Dispose and Finalize in C#

hen the .NET framework instantiates an object, it allocates memory for that object on the managed heap. The object remains on the heap until it’s no longer referenced by any

Optimize C++ Code with Member Initializers

Calling constructors for the data members of the object of a class results in an overhead process which calls the constructor in the main function. You can reduce this overhead

Changing User Privileges for an Application

If you’ve ever loged out and back into Windows XP to run a program under other user’s privileges, you don’t have to anymore. You can run the program as a

Evaluate XQuery Expressions with Java and SAXON 8

The following tip shows you how to combine Java and SAXON 8 in order to evaluate XQuery expressions. This application presumes that the XQuery expression is in an external file,

Replace All Occurences of Numbers in the Input String

This function replaces all occurences of numbers in the input string with ‘#‘ and returns the replaced string. It recognizes integers, floating point, and negative numbers. It will not replace

Calculate the Angle Between Two Lines

This code shows you how to calculate the angle between two lines using vectors and an inverse cosine function: Public Function getAngleBetweenLinesVect(commonX As Single, commonY As Single, X1 As Single,

A .NET Assembly Log Viewer

This utility tool logs the information when you build the assembly and is packaged along with the .NET Framework Tools. It allows you to view all the assembly bindings in

Get to Know uSTL: A Lightweight STL for Symbian

okia reports that STL support has been one of the most requested features among Symbian developers. This is no surprise. In 2006, using C++ without STL is like driving a