| | | StrataFrame Beginner
       
Group: Forum Members Last Login: 11/07/2008 2:58:56 PM Posts: 11, Visits: 196 |
| Options to log exceptions- To a table
- To a file
- To the event log
- Also to any of the above, with an associated email.
Keith |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 5:04:58 PM Posts: 4,780, Visits: 4,744 |
| | You can do this yourself and is in fact what we do in our medical system. If we log it to a table, you may want to add additional information and us doing this would force you to follow our structure. Just add your code to the UnhandledExceptionFound event in the Appmain.vb or program.cs file. We even take a screen shot so we can see what is going on. StrataFrame has a class that allows you to take screen shots: MicroFour.StrataFrame.Tools.ScreenCapture.CaptureScreen().Save("c:\MyScreen.jpg", System.Drawing.Imaging.ImageFormat.Jpeg) This is not the first time this has been requested and we have started to implement this several times. The problem is that most people want different types of information aside from the expcetion to be saved. So for now, you at least have a solution. |
| | | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Yesterday @ 4:08:06 PM Posts: 1,323, Visits: 3,452 |
| | Has anyone used the MS logging application block (from the Enterprise Library for .NET) with SF? How does it work? |
| | | | StrataFrame Beginner
       
Group: Forum Members Last Login: 11/07/2008 2:58:56 PM Posts: 11, Visits: 196 |
| | Thanks Trent, that'll work just fine. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Yesterday @ 5:04:58 PM Posts: 4,780, Visits: 4,744 |
| Glad to help |
| |
|
|