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

Copying a String Object to a Vector

Although the string class is very convenient for most string manipulation operations, it may be necessary sometimes to copy the contents of a string to a different container, e.g., in

Create a Null HTML Link in JavaScript

If you don’t want users to navigate to another URL when they click on a HTML link in an anchor tag, you need to create a Null HTML link in

Make One Form Parent of Another

Prior to VB5, when you wanted to make a form appear on top of another form, you either made it modal or used an MDIForm with children. If you wanted

Avoid Binary Compatibility Problems

To prevent losing the ability to maintain binary compatibility with compiled object code, take the first compiled build and move it into a separate directory, then tell VB to maintain

Tell Me It’s True

The typical method of validating multiple expressions is to string together a series of If statements separated with an equal number of And statements. Shorten that process by passing one

Use ASP Request Object

If you need to get a Web page visitor’s IP address in your ASP script, it

Namespace Members Have Static Storage

Variables and objects defined within a namespace have static storage type. As such, namespace members are by default initialized to binary zeros before program’s outset. Likewise, namespace members are destroyed

Displaying User Confirmation Dialogs

In JavaScript, it is easy to ask the user to confirm an action by using JavaScript Confirm () function. Say you have a function NavigateToWebAddress() (which needs confirmation from the

Do Easy Form-Level Keystroke Trapping

If you set a form’s KeyPreview property to True, all keystrokes for items on that form first trigger the form’s events. This makes it easy to do form-level filtering and

Know Where They’re Coming From

Sometimes you might find it important to know where your site visitors came from. You can then customize your ASP in a certain way, or you know how much your

Merge your view Windows in Visual InterDev

In Visual InterDev, you can have more than one view (Project Explorer, Properties, Data, Script Outline, Output, Find, Toolbox, etc) in a docked window. If you have too many of

What Final Does in Java

When you declare a class as final, it can no longer be subclassed. Java has used this for security purposes with classes like String and Integer. It also allows the

Understanding Interfaces

An interface describes the public methods that a class should implement along with the calling conventions of those methods. An Interface says nothing about implementation of its methods. In essence,

What ‘abstract’ does

When you declare a class as abstract, it cannot be instantiated. Only subclasses of an abstract class can be instantiated if they are not abstract themselves. When you declare a

What ‘synchronized’ does to a method

When you synchronize a method of a class, as in: public synchronized int getAge(){ …} that method will acquire a monitor lock before execution. If the synchronized method is static,

What ‘static’ Does

When you declare a field variable of a class as static, that field variable is instantiated only once, no matter how many instances of the class are created. In other

Persistence and Serialization

Question: What is the best source, print or online, for learning how to implement persistence in C++? I want to save my objects to disk and restore them, and I

Using ADO-Connected Recordsets with MTS

Question: Can I use ADO-connected recordsets with MTS? From the information I can find it seems that MTS does not handle them. Answer: You can, but the question is, do

Blinking Borders in Spy++

Question: How does Spy++ make the borders of a window blink when you select “Highlight” from the right-click menu? I have a MouseProc in the hook chain, so I can

queues

Question: I am a young programmer trying to learn C++. I have finished the three books that I own, but none of them cover queues or stacks. I have searched