How to tell when Crystal closes? 
Author Message
 How to tell when Crystal closes?

I am a REAL newbie, both with VB, and Crystal...

I have a report, and I am opening it with the ActiveX control (VB6, CR7),
and everything is fine and dandy.  The only concern is that I have a msgbox
that pops up immediately after the report is previewed, thus grabbing the
focus, etc, etc, etc...

Now it is imperative that this msgbox is modal, but I need to know when the
Crystal window is closed, so that I can ensure that the user has had a
chance to print/preview the report...

Essentially, I need the Crystal window to be modal, or I need something that
will monitor the crystal window and wait until it is closed.

I have tried:

Do
DoEvents
Loop Until rptReceipt.Status = 5

But this doesn't work...  Any ideas?

Dave



Wed, 16 Jul 2003 03:46:04 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Crystal Report Help Please or Tell me where to get Crystal Help

2. How to close VB 4.0 16 bit program when a Crystal report Window is closed

3. How do I tell if the Recordset closed?

4. How do you tell when a program closed?

5. Going crazy, says object is closed yet I never told it to

6. How can I tell in VB if called Crystal report has no data

7. Telling Crystal Reports where the database is???

8. tell crystal what to do in vb.net

9. Crystal Reports - tell me this isn't true

10. Telling a Crystal Report to use another database

11. How do I tell Crystal to use windows fonts

12. intercept crystal report close?

 

 
Powered by phpBB® Forum Software