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

Use Bitwise Comparison in SQL Server Queries

The newsgroups offer a lot of discussion about bitwise comparison in SQL statements. VB supports true bitwise arithmetic with And, but SQL supports only a logical AND and returns only

Winning: It’s All About Distribution, Baby!

Stewart Alsop gave an offbeat keynote at the BREW 2002 Developers Conference in early June. A onetime editor-in-chief of PC industry newspaper InfoWorld, an entrepreneur, and a longtime PC industry

Comparing Computer Information with WMI, Part II

n part one of Comparing Computer Information, I covered some of WMI’s low-hanging fruit (meaning, information that is relatively easy to retrieve). However, there are other, rather interesting pieces of

Avoid Database Deadlocks with Planning

esolving deadlocks is one of the more elusive solutions in database application development. Deadlocks are the dark side of concurrency, that is, they occur when some combination of locking, coding,

A super-efficient subclasser routine

cSuperClass.cls is yet another compiled in subclasser but with some major differences… this one doesn’t use a module, instead it dynamically generates a machine code window procedure that can operate

Understanding passing arrays by reference

.NET arrays are object types, thus an array variable is actually a pointer to the object where data is actually stored. For this reason, when you pass an array to

Evaluate an expression at runtime

The .NET framework doesn’t offer any direct way to evaluate an expression that has been entered by the end user when the application is running. However, it is quite simple

Change the application priority

The application’s priority – and more in general the thread’s priority – indicates how the application is “important” for the CPU. The more the priority is hight the more the

The WebStresser utility

The WebStresser utility is a simple VB6 application that repeatedly sends an HTTP request to the Web server of your choice. You can use it to test the ASP or

Create a command-line filter utility

The Console class exposes two properties that make it very simple to create command-line utilities that work as filters, exactly like the FIND and MORE utilities that are provided with

Write applications that take arguments

C# has a nice feature that VB.NET lacks: the ability to define a Main procedure that takes an array of strings, each one containig one of the arguments passed on

Duplicate the SET operating system command

The Environment.GetEnvironmentVariables property returns the list of all the environment variables, as an IDictionary object. If you want to display them sorted by their name, as the SET command does

Create console apps that return an exit code

Writing an application that returns an ERRORLEVEL to Dos is quite difficult in VB6, because you are forced to use a Windows API that ends the application immediately, thus preventing

Take advantage of the new math functions

The System.Math class exposes several static methods that let you perform many common operations. These functions replace the VB6 functions with same name, but there are a few new functions

The game of Life

Everybody knows the game of Life, where a program simulates the life of a cell colony that is subject to strict survival rules. This VB6 super-optimized implementation is so fast

Retrieving special system paths

The GetFolderPath method of the Environment class lets you retrieve the path of several important system directories. For example, here’s how you determine the path of the Desktop directory for