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

Web-enabling existing PB 6.0 Application

Question: I know that there are several ways to Web-enable applications in PB. I am looking for the most cost-efficient and least time-consuming solution. Any ideas? Answer: This is a

Get a Dropdown Datawindow Handle

Question: How can I insert rows into a dropdown datawindow that is a column in a datawindow im my report? Answer: You need to use the following code to access

How can I tell if Word is running

Question: Using Pb 6.5 and Windows 95, how can I tell if Word is running in the background? Answer: This is a difficult answer depending on if you know what

Check contraints

Question: I have a primary key (client id) of five characters which contains: character # 1: A-Z character # 2: 0-9 character # 3: 1-9 character # 4: blank or

Migrating to SQL Server and Keeping Novell 4.1

Question: Our business expects to migrate to a SQL Server base. We have two servers&#151the platform is Windows 95/Novell 4.1. Our manufacturing vendor application is upgrading, and it requires a

Form Security

Question: Is there a method of encrypting the body of an e-mail form using JavaScript or Java without access to a secure server or a cgi-bin? I want to use

Where Are My Files?

QL Server version 7 is an exciting new product. And although it is called “version 7,” so much of it has changed that I consider it a new product rather

Why qsort is Still Useful in C++

C++ defines a set of generic algorithms such as sort and find. However, the corresponding C algorithms, qsort and bsearch, are still useful in C++ programs for at least three

Live Action Captions

When building a TextBox or Label UserControl, the Caption or Text property sometimes doesn’t work well with the standard controls, as the control’s appearance doesn’t change when you type the

Add a New Number Format

A client needed the numbers to show up in certain data files in the “x100” format to accommodate interchanging data with a legacy system. That is, if the number is

Is Missing Behavior Changed in VB5

In VB5, you can assign a default value to a typed optional argument. But you must then use the IsMissing function carefully, because when the optional argument is typed, IsMissing

DHTML Window Redraw

Question: Is there any way to control the redrawing/repainting of the open window/document? Specifically, I have to change page elements (labels, cursor style) before calling some time intensive task. I

Create Page Breaks in an HTML Document

Question: Is there any way (using an HTML tag or a script) to force a page break at a certain point in an HTML document when it is being printed?

Arrays are Cheaper and Safer than Vectors

In Java, you can use either a Vector or a one-dimensional array to store an ordered collection of objects. The difference between the two types of storage is that the

Quick Class Tests

When testing properties and methods of an object that you’re writing, you don’t have to run a test project or form to test it. Instead, open the Immediate window and

A Quicker “Next/Previous Weekday”

In the latest tips supplement [“101 Tech Tips for VB Developers,” Supplement to the February 1998 issue of VBPJ], I noticed a tip titled “Determine Next/Previous Weekday.” This code is

Make Buttons Appear

VB doesn’t display the Min and Max buttons in a form’s caption area when you specify BorderStyle Fixed Dialog. If you set the MinButton and MaxButton properties on the form

Zap Expired Docs

This VBA Microsoft Word routine purges a document when it’s opened after a predefined expiration date. I’ve only tested this macro with Word 97: Sub Purge() Dim ExpirationDate As Date

Remove Min/Max Buttons From MDI Form

Unlike other forms, MDI forms don’t have MinButton and MaxButton properties to enable or disable the form’s Minimize and Maximize buttons. If you add this code to an MDI parent

Java’s Alternative to Function Pointers

Although Java borrows a lot of concepts and syntax from C++, it also leaves out some of C++’s main features to meet its goal of simplicity. For example, Java excluded

The Lifetime of a Bound Temporary Object

You can safely bind a reference to a temporary object. The temporary object to which you bind the reference persists for the lifetime of the reference. class C { int

Adding Tooltips in Microsoft Internet Explorer

Although you can’t add tooltips to links in Netscape Navigator, you can easily add them in Microsoft Internet Explorer. All you have to do is add a TITLE attribute to

A Standard Bit Vector

The Standard Template Library provides the specialization vector. The specialization is implemented in a way that squeezes each element into a single bit, rather than a bool variable. When a

Replacement for Now() and Timer()

The simple BetterNow() function, shown here, replaces the built-in Now() function. It’s faster (10 microseconds vs. 180 microseconds on a Pentium 166MMX) and more accurate, potentially supplying one-millisecond resolution, instead

Subclassing Anonymously

Anonymous classes in Java are defined inside another class (i.e., they are inner classes), do not have a name, and are defined inside a Java expression such as an assignment

Tile an Image Onto a Form

Adding this code to a form causes it to tile the image stored in Picture1 across the entire form whenever the form requires a refresh: Private Sub Form_Load() With Picture1

Adding Full Paths to a TreeView

Have you ever wanted to add nodes to a TreeView control using a full path instead of adding a node at a time? You can do it with this code: