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

ReplaceMulti – Multiple string replacements

‘ Perform multiple substitutions in a string’ The first argument is the string to be searched’ The second argument is vbBinaryCompare or vbTextCompare’ and tells whether the search is case

DevX - Software Development Resource

Overriding Default Object Serialization

Normally, all that is required to perform serialization of an object is to implement the java.io.Serializable interface. However, in some cases, you may wish to control how an object is

DevX - Software Development Resource

Class String Provides Two Member Functions

Class std::string provides two member functions that return the const char * representation of its object: string::c_str() and string::data(). c_str() returns a null-terminated const pointer to char that represents the

DevX - Software Development Resource

Determine the Characteristics of a Java Method

The java.lang.reflect defines a Method class that may be used to get information about a method in a Java class. Some of the main methods are: public native int getModifiers();

DevX - Software Development Resource

Access the TreeView Control’s Current Node Properties

The TreeView control reports its current node–the selected node–only in its NodeClick event’s Node parameter. If you need to access the Node’s properties–such as Key or Text–outside this event, you

DevX - Software Development Resource

Optimize With the Named Return Value

The named return value is an automatic optimization that a compiler applies in order to eliminate the construction and destruction of a temporary object. When a temporary object is copied

DevX - Software Development Resource

Limit the Number of Rows Returned When Using JDBC

If you’re issuing SELECT statements to a database using Java Database Connectivity (JDBC), a huge number of records can be returned by the java.sql.ResultSet. However, sometimes you will want to

DevX - Software Development Resource

Dynamically Load a Style Sheet

Question: How do you dynamically load a style sheet? I’m trying to use the tag in the to load a style sheet. All the pages in my site use the

DevX - Software Development Resource

Subclass Grid Controls

Sometimes a class needs to communicate with the object that created it. For example, I use a class to subclass grid controls so I can handle things such as tabbing

DevX - Software Development Resource

Use Select Case to Evaluate Different Expressions

Select Case is commonly used to check different values of a specific variable or expression. You can also use Select Case to evaluate multiple expressions, by starting out with “Select

DevX - Software Development Resource

Join Two Files Together

The DOS Copy command allows you to take the contents of two different files and put them one after the other into a third file. You can do the same

DevX - Software Development Resource

Cache Your JavaScript Object References

You can write JavaScript code that is more readable and maintainable by reducing object references. For instance, you can use the with() statement or nested with() statements in JavaScript to

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().