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

What are Plain Old Data (POD) Objects?

A POD (plain old data) object has one of these data types–a fundamental type, pointer, union, struct, array, or class–with no constructor. Conversely, a non-POD object is one for which

DevX - Software Development Resource

Add and Subtract Dates Using VBScript

VBScript has two functions for adding/subtracting dates or date values: DateAdd and DateDiff. For example: DateAdd(interval, number, date)DateDiff(interval, date1, date2 [,firstdayofweek[, firstweekofyear]]) Interval could be “yyyy” for Year, “q” for

DevX - Software Development Resource

Clean Up Project File Paths Before Sharing Source Code

As you work with a VB project, the project file–VBP–can become littered with relative path references such as “……..myfoldermyform.frm”. The project loads, but only on your machine. If you send

DevX - Software Development Resource

Avoid Unwanted Recursion From Event Cascades

Sometimes, an event might fire while it’s already executing from a prior invocation. To prevent this unwanted behavior, assign a static variable within the procedure, and test it before allowing

DevX - Software Development Resource

How Many Characters Fit in an Alert Box?

Question: How many characters can fit in an alert box? Answer: There’s no way to tell how many characters can fit in an alert box. The size of the dialogs

DevX - Software Development Resource

Modifying Enumeration Data Sources

Since the java.util.Enumeration class provides read-only access to the element list it represents, it may intuitively seem that the list of elements is immutable, or cannot be changed. However, the

DevX - Software Development Resource

Happy Hunting for ASP and Visual InterDev Bugs

Before you spend too much time bashing your head against a problem in Active Server Pages or Visual InterDev, check to see if you’re not up against an acknowledged bug.

DevX - Software Development Resource

Finding duplicate values in a table

Question: I have a table with the following fields: Physician Patient # Procedure One of the Procedures is “X-ray.” How can I list the Patient # of anyone who has

DevX - Software Development Resource

SplitTbl – Split a string with multiple delimiters

‘ A variant of the Split function, that offers the following improvements’ You can pass a list of valid delimiters to the second argument’ (however, only single-char delimiters are accepted)’

DevX - Software Development Resource

DataWindowChild problems

Question: I have a datawindow d_case with a retrieval argument al_case_id. In this datawindow, I have two columns that are ddlbcolumn1 = judge with dddw_judge and column2 = contact with

DevX - Software Development Resource

SQL Server Transaction log

Question: Is there a way to turn off the transaction log while importing data? We are having a problem with a 1105 error. Answer: You cannot turn the transaction log

DevX - Software Development Resource

Replace – String replacement under VB4 and VB5

‘ A clone of the VB6’s Replace function for use under VB5’ Note: many routines in this collection uses the Replace functionFunction Replace(Source As String, Find As String, ReplaceStr As

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