Debug.Print - from an EXE.

Category:
System/API
Type:
Snippets
Difficulty:
Beginning
Author:
Merrion Computing

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Developers often use Debug.Print to monitor the flow of their applications. Now it is possible to have the same functionality in an Exe. Simply download "DBMon.exe" which is part of the Microsoft Platform SDKs (http://www.microsoft.com/msdownload/platformsdk/setuplauncher.asp) and add the following snippet to your project.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: