
How to close VB 4.0 16 bit program when a Crystal report Window is closed
Hi ,
I have been trying to find a way that when a Crystal Report Window is
closed, the VB application that called it is automatically closed. I have
tried FindWindow and GetWindowText but no joy. Anyone have any ideas ??
The reason this needs to be done is that in a Program called Linkworks the
user clicks
on a folder that starts a VB app running that calls different Crystal
Reports depending on the paramater passed to it. The end user only sees the
Crystal Report Window. So when they close the report window, we also need
to close the program that called it.
Thanks,
Paul Whitby