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

A Quick Explorer-Like Interface

Although the new VB5 Application Wizard can build a shell application with an Explorer-like interface, it is often desirable to drop a quick Explorer form into your code without the

Applying procedure to every file on a drive

Question: For EVERY filename present on a hard drive, I need to convert the path and filename to a string and then evaluate the string for certain conditions. If those

CDONTS.NewMail does not send

Question: Hi, I have set up SMTP and I’m trying to send e-mail. It appears to work, and reports no errors, but the mail is not sent to the recipient,

VB and ISP and Web-based analysis

Question: I have numerous data analysis programs written in VB4/5 that I would like to put on a server for server-based data analysis. It would require uploading data files from

Create Timeline Templates

When utilizing project management tools, create a timeline template that models your development methodology. Set up the dependencies and defaults within this template. Then you can copy and paste it

ANALYZE Your Visual Source Safe Database

Set up a task in your scheduler of choice to run the ANALYZE.EXE programagainst your Visual Source Safe (VSS) database at least once a month.This tool allows VSS to check

Who’s Backing Up Your Source Code?

Utilizing version control systems is very important, but if no one is backing up your version control database, you are needlessly stepping close to the brink of disaster. Most source

Set Up Useful Shortcuts in the Send To Folder

If you develop applications that use components that need to be registered, consider setting up a shortcut to regsvr32 in the “Send To” folder on a user’s machine as part

Better Alternatives to Macros

Macros in C++ are better avoided. They are unsafe, hard to debug, and may bloat your .exe files. C++ offers significantly better alternatives to them: 1. Function-like macros should be

Before You Resort to Void *…

Void * can serve as a generic data pointer, yet it suffers from the well-known ailments associated with pointers: it can be NULL or a dangling pointer. Furthermore, it usually

Default Template Argument

Like ordinary functions, templates can have default type arguments. A good example is STL’s vector. It actually has two arguments–the second one is an allocator class template. Since an allocator

Let the User Control Long Operations

To allow the user to control long operations, use a single CommandButton to control starting and stopping a looping process: Dim Running As BooleanPrivate Sub CmdStartStop_Click() If Running Then ‘

Pass Parameters to User Dialogs

It’s fairly common practice to add buttons to your date and numeric fields to allow users to select and display a popup calendar or calculator. However, to display a calculator

A Better Way to Swap Two Integer Variables

The algorithm shown in the tip, “Swap Values Using Only Two Variables” [“101 Tech Tips for VB Developers, Supplement to the February 1997 issue of VBPJ, page 25], crashes not

Use Arrays, Not Collections

Arrays take less memory and are faster than collections. If you don’t need to use a collection’s keyed lookup, easy extensibility, and other features, use an array instead.

Draw Complex Shapes

You can create complex shapes easily if you have a copy of Microsoft PowerPoint, CorelDraw, or any other graphics editor. Using your graphic editor’s drawing tools, draw the shape you

Don’t Show me the Hourglass

When creating applications, especially on an enterprise scale, don’t create them so that they run start to finish, tying up the user’s PC needlessly. If all you need is two

BDE Configuration

Question: I’ve developed a database using Microsoft Access, exporting the files to a Paradox 5 format. Now, the application I’ve developed that utilizes this database is currently running on two

Putting Hints in Status Bar

Question: I am using the application.onhint example from the Delphi help files to put all hints in my status bar. It works on all but one form. I’m using the

JavaScript Compatibility

Question: As a Web designer, one of my biggest struggles is JavaScript compatibility with previous browser versions (such as IE3, IE4, N2, N3, and N4). Is there a way I

Related Database

Question: I’m trying to make outer join by the query builder in Delphi 2.0 but the only active option is inner join. I want to use left outer join and

Running an EXE file via a Delphi App

Question: I want to be able to run an EXE file on a button click in one of my Delphi applications. Is it possible to do this? Where do I

Component Events

Question: How can I add a new event to an existing component (for example, OnScroll to a TTreeView) without building a new ComponentClass? Answer: You can replace existing event handlers

Increase Query Performance

Question: I have a form that uses one data source and one query component. The data set of the data source is the query. Depending on the process, I assign

Find Trouble Spots

Implement a low-tech trace of your application by writing a message whenever your code enters and exits a subroutine. This can help you locate elusive bugs, because you can turn