VB6 beginners tutorial - Learn VB6

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 18

Displaying Messages Programmatically With the Debug Object

If you want to display messages about the status of your program during a debug session, but you don’t want to enter Break mode, you can do so by calling the Debug object and its methods in your code. The Debug object is built in to VB itself, so you don’t need to declare an object variable or do anything special to use it.

The Debug object has two methods: Print and Assert. Each displays information in the Immediate window, but the methods have different applications.


<< Previous | Contents | Next >>

Home | About Us | Privacy Policy | Contact Us

Copyright © | All Rights Reserved