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

How to Double Image Size

Use the following code to scale an image into double its original size: import java.applet.*;import java.awt.*;import java.net.*;public class ScaleImage extends Applet{ Image img; public void init() { try { img

GetStringBetweenTags – Returns a string between 2 delimiters

‘ Returns a string between 2 delimiters’ Parameters:’ sSearchIn: String to search’ sFrom: First keyword’ sUntil: Second keywords’ nPosAfter: Gets the position after” Example:’ Debug.Print GetStringBetweenTags(“This is a sample of

Changing the icon of a drive

By editing the Registry it is possible to change the icon that Windows Explorer uses for a drive. For example, if you want to change Drive E’s icon, create the

The Basics of GDI+

n graphical user interfaces such as Microsoft Windows, drawing on the screen is an important task. Everything displayed on the screen is based on simple drawing operations. Often, environments such

Asynchronous Calls in .NET

hen you make a method call on an object, typically you must block the client while the object executes the call, and control returns to the client only when the

Using GDI+ in ASP.NET Web Applications, Part I

DI+ is a technology that developers generally associate with Windows Forms applications because they use it to draw anything on the screen from custom controls to diagrams. However, you can

GDI+ Drawing Page, Part I

here was a time, not too long ago, when browser-based user interfaces were considered both the status quo and the Next Great Thing. The demand for Windows Forms-based applications started

Getting Started with Regular Expressions

egular expressions. The name doesn’t conjure up any grandiose ideas about what they are all about. How could it with the word “regular” in the title? For those of you

Dynamically Adding Wired Controls to Web Forms

eb Forms that require only controls and functionality provided by the built-in ASP.NET Web server controls are easy to create. But creating Web Forms that require or are designed with

Handling SQL Server Errors in Nested Procedures

asic error handling in SQL Server’s programming language, Transact-SQL, is straightforward. But when you nest calls to stored procedures, and the procedures have SQL transactions, error handling becomes much more

Python Boosts JAR File Auditor Functionality

nderstanding the Java classpath and Java’s classloading mechanism are essential for any proficient Java developer. In a previous DevX article (Put an End to Jar File and Class Name Conflicts),

Using the .NET File System Object Model

he .NET Framework doesn’t change the structure of the file system, nor does it build a new layer on top of it. More simply, but also more effectively for developers,

Deadlines, Deadlines, Deadlines

‘ve been in this business long enough to know that wherever you find a software developer you’ll find at least a one-to-one relationship to a deadline. More often, you’ll find

XQuery, the Query Language of the Future

Query will likely become the dominant language for querying data from most data sources. Although designed for querying XML data, you can use XQuery to tie together data from multiple

It’s the Concept…

nspiration for my editorials comes from many diverse sources. Sometimes I get inspired from a song on the radio, a conversation with a friend, or a line from a movie.

A Flying Pop-up Window

The following code can be used to create a popup window which flies in the screen.

Write to Multiple Targets Simultaneously

This is helpful, for instance, if you’re error logging to the file and body of an e-mail. Create a new subclass of OutputStream called TeeOutputStream like this: package be.marble.io;import java.io.*;public

Negative Numbers Represented in C++

You probably know that integers are represented in binary–in base 2. This is pretty straightforward for positive numbers, but it means you must choose an encoding for representing negatives. The

CodeWarrior Wireless Studio Soothes Portability Woes

‘ve had a long and happy history using the MetroWerks CodeWarrior IDEs for both Mac and Windows development; they’ve helped me throughout college for those programming projects occasionally thrown at

A Gosling-Eye Glimpse of Java’s Future

avaOne alumni know that if you want to get a true geek’s-eye glimpse of the technological future, try to get close to James Gosling. This year Gosling, who is a

FreeThreader component for VB6

VB6 does not natively support free threading, but with this ActiveX library you can finally create multiple threads and make them communicate, write delegate functions (similarly to VB.NET) and use

DisplayExceptionInfo – Displaying error information

‘ A reusable routine that displays error information’ Note: requires Imports System.ReflectionSub DisplayExceptionInfo(ByVal e As Exception) ‘ Display the error message. Console.WriteLine(e.Message) Dim st As New StackTrace(e, True) Dim i