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

Ensure the Stability of Your Database

As a database administrator, it is your responsibility to be concerned about anything that might affect the stability of your systems. In that vein, it is not enough to back

DevX - Software Development Resource

Calling Subclass Methods

When a class is instantiated, the subsequent object is actually an instance of the most derived class in the class hierarchy. This means that even if a class is referenced

DevX - Software Development Resource

Perform Cross Casts Properly

A cross cast converts a multiply-inherited object to one of its secondary base classes. To demonstrate what a cross cast does, consider this class hierarchy: struct A{ int i; virtual

DevX - Software Development Resource

Lock the Back Door Too

An extended stored procedure called xp_cmdshell causes SQL Server to spawn a command shell and execute the command given as a parameter. For example, xp_cmdshell ‘dir c:mssqlackup’ would return a

DevX - Software Development Resource

Getting a Reference to the Parent Frame

Instances of java.awt.Dialog are often used to display error messages in an application. As a result, you may find yourself writing a component that displays a message in a Dialog

DevX - Software Development Resource

Collection Class Master Addin

This addin lets you quickly create a collection class, i.e. a CLS module that implements a class that behaves like a collection but only works with a well-defined type of

DevX - Software Development Resource

Property Builder Addin

This addin greatly accelerates the process of creating new property procedures, both in class, form, UserControl and UserDocument modules. You enter the name of the property, its type, its arguments

DevX - Software Development Resource

Hiding Drop-Down Tabs

Question: Is there an easy way to hide a drop-down tab without using the mouseout, mousemove, or mouseover events? These dynamic drop-down tabs are layered and in a framed page.

DevX - Software Development Resource

Add Share for a special User group in VB

Question: How can I add a Share in Visual Basic to a Local or Remote Machine with permission only for a special User group? Answer: That is a rather difficult

DevX - Software Development Resource

File Paths

Question: How do I grab a file’s absolute path, given a filename? Answer: All you have to do is create a File object corresponding to the filename and call getAbsolutePath().

DevX - Software Development Resource

MOD Division

Question: Does Java have a MOD function? Answer: The Java language has a built-in operator to perform modulus division. It is the same as that of the C and C++

DevX - Software Development Resource

Windows Standard Color Dialog

Question: How can I call the Windows color dialog box in Powerbuilder 6.0? Answer: To use the Windows standard color chooser dialog, you will need to declare and use some

DevX - Software Development Resource

Batch files won’t run

Question: My batch files don’t run anymore. I’ve changed the association for editting them, and now that is the default action. Also, the “add” button is disabled in the edit

DevX - Software Development Resource

String Substitution

Question: How can I find and replace a substring of a String? Answer: The String class is immutable. That is, once you have created a String, you cannot change its

DevX - Software Development Resource

Java Virtual Machine Doesn’t Exit

You may have been surprised and frustrated to find that in some cases, the Java Virtual Machine (JVM) does not stop running when your application exits the static main() method.

DevX - Software Development Resource

Shortcut for if-else in JavaScript

JavaScript has C-like syntax. Therefore, it is possible to use the ?: conditional operator, which is a shortcut for the if-else block: Expression?true part:false part Try this example:

DevX - Software Development Resource

Full Context Searching

One of the hardest tasks until now has been supporting searches on text fields. As we know, indexes can’t be built on text fields and so searches on these fields

DevX - Software Development Resource

Unwinding the Stack

When an exception is thrown, the runtime mechanism first searches for an appropriate handler (a catch statement) for it in the current scope. If such a handler does not exist,

DevX - Software Development Resource

Dialog Boxes Cannot be Resized

Question: Is there any way to resize dialog boxes in Internet Explorer? Answer: No, there isn’t any way to resize dialog boxes in IE. The size of the dialogs displayed

DevX - Software Development Resource

Create Application Roles in SQL Server 7

Developers commonly want to ensure that a user accesses only the data through their application. After all, not every person should be let near a server with Microsoft Access. However,

DevX - Software Development Resource

Abstract Data Types Versus Abstract Classes

The terms abstract data type and abstract class refer to two entirely different concepts, although both of them use the word ‘abstract’ due to a historical accident. An abstract data

DevX - Software Development Resource

Connecting the Piped Stream Classes

Java’s PipedInputStream and PipedOutputStream classes allow you to write data to an OutputStream object and to read this data from an InputStream object (see tip “Pass Data Between Threads Using