60000340 Events and PrintPreview dialog in VB6

Article 60000340
Type General
Product Engine
Version 6009
Date Added 12/5/2007 12:00:00 AM
Fixed (12/6/2007 12:00:00 AM)
Submitted by Stavros Meimaroglou

Summary

When the PrintPreview dialog is active events (like DrawAfter) do not fire, and this only happens in VB6 when you are in debug mode.

Solution

This problem exist only in Visual Basic 6 when you run the project in debug mode. The compiled exe will not have this problem.

This has to do with backwards COM interop compatibility .

Send comments on this topic.