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

WebTV

Question: I am considering using WebTV as a platform to deliver our on-line training courses. Is ActiveX compatible? Answer: WebTV is currently not ActiveX compatible. The latest releases of WebTV

DevX - Software Development Resource

Creating Date-based Filenames

Question: I am using Excel 97 to create macros. I would like to have my macro “save as” and automaticaly create a filename partially from the current date.for example today

DevX - Software Development Resource

Access violation occurred

Question: I created a setup program with the Setup Wizard. I try to install my program on another computer, and the message following appears: C:windowssystemmsvcrt40.dllAn access violation occurred while copying

DevX - Software Development Resource

Building Web Pages with VB

Question: Can I make web pages with VB5? Answer: That is a vague question, but the short answer is yes. Visual Basic can, as a simple solution, create text output

DevX - Software Development Resource

Creating Connection to Internet

Question: I am writing a program that uses the Internet. So far, it works but I need to make sure that the connection is working. How can I make my

DevX - Software Development Resource

The Best Way to Manipulate Strings in C++

You should use the String class to avoid common problems when manipulating strings in C++. The following approach will work, but it needs a lot more code to make it

DevX - Software Development Resource

Convert a Double into an Int

There are many things you can do to convert a float to an int depending upon what results you expect. If you want to use the built-in language conversions, you

DevX - Software Development Resource

Send Output to Printer

How do I send the output of my program to the standardprinter installed in Win95 or NT? Is it possible using the

DevX - Software Development Resource

Replicating the END command in C++

Suppose I have one function that calls about five or so subfunctions. In one of the subfunctions, I have an if statement: that if a=0, go on to the rest

DevX - Software Development Resource

Helping the Java Garbage Collector

When you create an object in Java, such as in the following code: Button b = new Button(); Java creates a new Button object in memory and sets the value

DevX - Software Development Resource

Include Test Code in Your Classes

It is important for developers to test code that they write to insurethat they are meeting the specifications for their application. Oftentest code is built in a separate program which

DevX - Software Development Resource

Use Java Object Serialization Instead of a Small Database

Some applications must keep small amounts of information between thetimes they are run. For example a personal calendar or personalinformation system, will store information after each session. Insteadof using a

DevX - Software Development Resource

Allow the Java Compiler to Remove Debug Code

The Java compiler will optimize your application by removing code thatcan never be executed. If you include a class in your application suchas the following: public class Debug{ public static

DevX - Software Development Resource

Increase Code Reusability

Instead of exposing fields of a Java class, such as in thiscode: public class Person{ public String firstName; public String lastName;} use private fields and provide access to the information

DevX - Software Development Resource

Create a Single Instance of an Object

There are situations when you need to insure that only a single instanceof an object is created in a program. Examples of this include aconnection to a database system, a

DevX - Software Development Resource

Where Am I?

When your applet is executing in a browser environment, it might be handy to know what the current URL in the browser is. Although Java is not really great at

DevX - Software Development Resource

Talking To Your Applets

To allow your applets to operate in different environments, it’s quite handy to be able to pass certain parameters to them at runtime. When embedding an applet in a HTML

DevX - Software Development Resource

What’s That Name Again?

Net-related technology is already moving at a frightening pace, but vendors are actively making things more confusing by continuously coming up with new names for slight variations on existing technology.

DevX - Software Development Resource

It’s All a Matter of Trust

If you’re building applets using Microsoft’s Visual J++, you might encounter problems the first time you try to run your applet outside of the development environment. Typical examples of this

DevX - Software Development Resource

Where’s My Package?

Regardless of the Java VM you’re using, from time to time you’ll encounter a client that is unable to run your applet because of an “undefined package” error, even though

DevX - Software Development Resource

Calling a CGI script that returns nothing

Question: Hi, Ohh great and powerful one(just kidding). hhhhmmmm, yeah, i am calling ascript form my Form that spawns a process and does not have to return any HTML; what

DevX - Software Development Resource

Clean and Compact Your Code

The last thing you should do before creating your final EXE is clean your code. This tip explains how to clean the garbage from your project that is sometimes left

DevX - Software Development Resource

Scrollable Viewport for a Picture

It’s easy to make a scrollable viewport for a picture in both VB3 VB4. In addition to a picture, you can also use other objects that grow. First, create a

DevX - Software Development Resource

VB 4.0 Add-In Error Messages

The ability to write add-ins under VB 4.0 is a significant addition to the developer’s toolbox. However, writing and distributing add-ins can be fraught with many a mind-boggling experience. One

DevX - Software Development Resource

Directory References in Code Profiler

The Code Profiler does not properly handle relative directory references in the VBP file. If the file looks like this, Code Profiler aborts trying to process the CRW45 file: Module=PASSMAN1;

DevX - Software Development Resource

OLE Automation Versus Standalone Mode

There you are, creating an OLE server in Visual Basic. You go to Options in the Tools menu, select the Project tab, choose “OLE Server,” and click on OK. After

DevX - Software Development Resource

Protect Your Screen Saver From Restarting

When you create a screen saver in Visual Basic, you may sometimes utilize the command-line options such as “/s” to start a screen saver directly or “/c” to run the

DevX - Software Development Resource

Track Modem Use by Other Applications

With applications increasingly using modems, it is quite possible that users will start your application, forgetting that another application is already using the modem-like a fax machine, for example.The MS

DevX - Software Development Resource

Branding a Jet MDB File

This routine allows a hidden table to be appended to the Tables collection in an MDB file. I use the table name as a brand or stamp. During development, I