John, here's my code to do a screen shot It requires system.app (Can be downloaded)
lcdothis="SYSTEM.APP" DO (lcdothis) Declare Long GetDesktopWindow in Win32API loPicture = _Screen.System.Drawing.Bitmap.FromScreen(GetDesktopWindow()) loPicture.Save( "INFO.Jpg",_Screen.System.Drawing.Imaging.ImageFormat.JPEG) loPicture.Dispose() WAIT WINDOW NOWAIT 'Screen shot saved ...... ' On Tue, Nov 24, 2009 at 9:58 PM, John Weller <[email protected]> wrote: > I'm not sure about the screenshot being overkill, I have found them helpful > on occasion as they can give additional information about tie conditions > when the error occurred. Obviously I also need to know the error details, > line no, etc. I'd love to know how to automate a screenshot though. > > John Weller > 01380 723235 > 07976 393631 > > > > > The whole screenshot thing seems like overkill, and kind of > > weird. Why not just automatically email the entire text of > > the error message? > > > > [excessive quoting removed by server] _______________________________________________ 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 Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** 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.

