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

Getting the Toolbar to Show Text

Question: What code do I have to write to get my toolbar to show text? Answer: The toolbar text and other general toolbar attributes are located on the Application object.

DevX - Software Development Resource

Passing a Variable Between Two Applications

Question: In my first application, I want to use a global variable in my second application. How can I do this? Does PowerBuilder offer any method to exchange messages between

DevX - Software Development Resource

Getting All Files in a Directory

Question: How do I loop through a window’s subdirectory and get all the files one by one? I need to save each file in a specific format before saving it

DevX - Software Development Resource

DataWindow Initial Values

Question: How can I use global variables to set initial values in a DataWindow? I have tried to use “Rows..Column Specs..” but all it displays is the name of the

DevX - Software Development Resource

Alternate Confirm Message Box

Question: Can I make a confirm message box with “Yes” and “No” as opposed to “OK” and “Cancel”? Answer: Unfortunately, you’re out of luck. As you’ve found out, the JavaScript

DevX - Software Development Resource

Use DatagramSocket to See Who’s Calling Your Server

You can use java.net.DatagramSocket class to identify a remote machine that is accessing your server. The class java.net.DatagramSocket represents a socket for sending and receiving datagram packets. A datagram socket

DevX - Software Development Resource

Your Options With Sockets

JDK 1.1 offers enhanced control over a socket’s behavior through some socket options. These options are: SO_TIMEOUT, which you can access through accessor methods: public synchronized int getSoTimeout() throws SocketException

DevX - Software Development Resource

Formatting Date and Time Values

VBScript has a built in function that allows you to convert a general date (MM/DD/YY HH:MM:SS AM/PM) into numerous other formats. The other formats are long date, short date, long

DevX - Software Development Resource

Dynamically Display the Last Modified Date

A lot of Web pages have a last modified date at the bottom of the page. Although this is a feature easily managed by changing the HTML, a better approach

DevX - Software Development Resource

Customize Your Find in VID

Do you ever wonder what the “Browse” button is for in your VID Find dialog? Press it and you will “find” out. It is actually a very nifty little feature

DevX - Software Development Resource

Sort Using a JavaScript Array

Javascript Arrays are quite versatile. One of its built-in features is the sort method. When an array is populated, you can simply call the sort method to sort by text.

DevX - Software Development Resource

Build Select Box Options Easily

Each time I work on a Web project, there is a page or two where I have to build a select box control where the options are derived from some

DevX - Software Development Resource

What are Aggregates?

The term “aggregate” is used in the ANSI standard to denote an array or a class with no constructors, no private or protected data members, no base classes, and no

DevX - Software Development Resource

The Memory Alignment of a Union

In C and C++, a union is aligned according to the alignment requirements of its largest member. For example: union U{ char c; short s; int i;}; The union U

DevX - Software Development Resource

Understanding What Memory Alignment Means

Most CPUs require that objects and variables reside at particular offsets in the system’s memory. For example, 32-bit processors require a 4-byte integer to reside at a memory address that

DevX - Software Development Resource

When Can a void-Cast be Useful?

Stringent compilers issue a warning message when a function’s return value is ignored. For example: int func(){ return 0;}int main(){ func(); //return value ignored} Indeed, ignoring a function’s return value

DevX - Software Development Resource

Alternative Representations of C++ Operators

C++ defines textual representations for logical operators. Platforms and hardware equipment that do not support all the special characters used as logical operators can use these alternative representations. The alternative

DevX - Software Development Resource

React to Font-Changed Events

Use WithEvents to perform an action when you change any font properties of a specific control or form. Make sure you set the OLE Automation reference in the References dialog:

DevX - Software Development Resource

Q&D Sort Using Hidden List Box

VB has no built-in Sort function. Although lots of sort routines of varying complexity and performance are available, there’s a simple “cheat” that you might find useful. The standard VB

DevX - Software Development Resource

Toggle Listview Headers Between Flat and 3-D

Whenever you want a ListView control with flat, nonclickable headers, use this code to toggle the header style. Flat headers don’t give users the impression of sortability that 3-D headers

DevX - Software Development Resource

A Generic Routine to Fill Unbound Lists

A common need in database processing is retrieving a list of the values of a particular column field for every record in a table. This function takes arguments for a

DevX - Software Development Resource

Consolidate Global Data

We all know that using global variables in our projects is not considered good programming practice. Nevertheless, everyone does it. Sometimes you need to introduce public variables for storing initialization

DevX - Software Development Resource

Speed Up Download Time

Question: How can I speed up the download time of the text and images on my company’s Web site? Is there any rule of thumb to go by? Answer: The