James Miller

 

Monday, August 11, 2003

 

External Debug.Print for Visual Basic

It is a real pain that when a Visual Basic program aborts, sometimes it leaves no message or trace as to what happens. There is also the need to be able to read the Debug.Print in a compiled .exe.

I have written a little program called Daisy 2003 Status, which you can call from any other program to get a status window.

Using it is very simple. Add the compiled program to the references and define an object that is a 'Daisy2003Status'.

Then use AddMessage with an appropriate message instead of Debug.Print. Other methods and properties control the caption, icon and position.

The source is available as a zipped project.

If you have a problem send me an E-Mail.

I suspect that this program would work with any other program that can use Active X!

0 Comments:

Post a Comment

<< Home