We have created a report which has been opened within the VPE preview window. At one of our customer sites, when they press the email button the email dialogue window sometimes opens behind the modal preview window which is something that the customer is starting to get irritated by. This only seems to be happening occasionally, I tried it around 50 times without reproducing it.
The VPE is incorporated in a Progress 4GL application and there is code that is run successfully in both the BeforeMail and AfterMail events but nothing that seems to be run between these two events. The customer is using XP Pro and Outlook 2007 (if this is relevant). We are using VPE 3.5.
Is there any way that I can force the email window to the foreground of the application?
Many thanks,
Matt