Freetutes.com

Advanced VB6 tutorial - Learn Advanced VB6

Systems Analysis - System analysis and Design tutorial for Software Engineering

You are here: Visual Basic > Advanced VB6 tutorial > Chapter 11

Sponsored Links

Using the Error Statement

The Error statement can be used to simulate or force errors to occur. The syntax is as follows:

Error <error number>

For example,

Error 51

generates an Internal Error.

The Error statement is available in Visual Basic 6 for compatibility with older versions. With Version 6, you should use the Raise method of the Err object.

<< Previous | Contents | Next >>

 

 

Home | Link to Us | Partner Links | About Us | Contact Us
Copyright © 2007-2008 Freetutes.com | All Rights Reserved