Dave, That is brilliant!! Does just what I need. Once again, I'm in your debt (and all the other Profoxers).
Regards John John Weller Wessex Computer Solutions 01380 728880 07976 393631 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Dave Crozier > Sent: 18 October 2006 15:19 > To: [EMAIL PROTECTED] > Subject: RE: Setting Default Printer > > > John, > If you don't want to use Alt/F4 to close the application, then a slight > modification as below finds the window handle and closes it under program > control. > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

