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

Redirecting Visitors to a New Page Using JavaScript

You can automatically redirect visitors from one page to another in several ways. Here’s a flexible method that uses JavaScript to modify the href property of the location object in

DevX - Software Development Resource

Padding Effect

Question: I’m trying to create a padding effect around this box of text that glides on to the screen from the right. I need to have it so that the

DevX - Software Development Resource

Extra DLLs as a Result of Conditional Compilation

Starting with Visual Basic 4.0, you can add conditional compilation statements and use them to create different versions for 16-bit and 32-bit environments or to call debugging DLLs while testing

DevX - Software Development Resource

Read and Write Arrays Quickly

You can read and write arrays quickly from files using Put and Get. This approach is faster than reading and writing the array one entry at a time: Dim arr(1

DevX - Software Development Resource

Print Gray Lines and Areas

Black and white printers cannot print gray lines, but they can dither to create gray areas. To create a gray border around an area, draw thin gray boxes with DrawStyle

DevX - Software Development Resource

Trick Setup Wizard

Don’t you hate that VB5’s Setup Wizard doesn’t include all the files you reference in your application? For example, if you access a picture or animation file at run time

DevX - Software Development Resource

Loading Graphics Before You Display Them

Many sites include rollover effects to make images change when the mouse moves over them. However, sometimes there’s an unsightly delay while the second graphic is downloaded from the server.

DevX - Software Development Resource

What to Tell Browsers that Don’t Support Java

If you’re not careful about how you include Java applets in your Web pages, people who use browsers that don’t support Java (or who have deliberately switched off Java support)

DevX - Software Development Resource

Be Polite to Frameless Browsers

Older browsers that don’t support HTML frames won’t display anything when they attempt (and fail) to load a page containing the code to set up frames. So a good design

DevX - Software Development Resource

Forcing a Page to be Loaded from the Server

To save time, browsers often load a frequently visited page from a local cache on the client’s computer rather than request it from the relevant Web server. The catch with

DevX - Software Development Resource

Getting Spaced Out

HTML’s page layout features are limited for older browsers–tables provide one of the few ways you can force text or graphics to appear in particular positions. Another addition to your

DevX - Software Development Resource

Undefined Behavior vs. Unspecified Behavior

The terms “undefined behavior” and “unspecified behavior” are not interchangeable. Undefined behavior indicates that an implementation may behave unpredictably when a program reaches a certain state, which almost without exception

DevX - Software Development Resource

Member Alignment

Manual calculation of a struct/class size is not just an indication of poor design and a source of maintenance problems; it may also lead to bugs that are very hard

DevX - Software Development Resource

Sizeof or strlen()?

What’s wrong with the following code excerpt? const char name[] = “john doe”; //9 characters, null char implicitly added by compilersize_t namesz = strlen(name); //namesz equals 8! Nothing, in fact.

DevX - Software Development Resource

Correct Path Names

You may have encountered this problem before–your program contains a full path name of a file, into which data has to be written or read from: FILE * f =

DevX - Software Development Resource

Restrictions on Operator Overloading

The following restrictions apply to operator overloading: 1. Invention of new operators is not allowed. For example: void operator @ (int) ; //illegal, @ is not a built-in operator or

DevX - Software Development Resource

The Trouble with Triggers, Part II

et’s talk about when and why we use triggers and the technical details of how to write a trigger. To recap, a trigger is a stored piece of code that

DevX - Software Development Resource

Invoking the Default Browser

Here’s a Visual Basic routine that invokes the default browser: Private Declare Function ShellExecute Lib”shell32.dll” Alias “ShellExecuteA” (ByValhwnd As Long, ByVal lpOperation As String,ByVal lpFile As String, ByVal lpParametersAs String,

DevX - Software Development Resource

FTP with Java

Normally, from within a Java applet you can create a java.net.URL instance using the “ftp://” protocol handler. But you may need a third-party library to access FTP from a Java

DevX - Software Development Resource

Days Left Until Specific Date

Using the Date functionality in JavaScript, you can post the number of days left until a certain date. Internally, JavaScript stores dates as the number of milliseconds from midnight (GMT)

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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,

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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