StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Exception LoggingExpand / Collapse
Author
Message
Posted 01/22/2007 12:18:23 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame 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

Post #6044
Posted 01/22/2007 12:45:43 PM


StrataFrame Developer

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. 

Post #6047
Posted 01/22/2007 12:49:21 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame 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?
Post #6048
Posted 01/22/2007 2:41:03 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/07/2008 2:58:56 PM
Posts: 11, Visits: 196
Thanks Trent, that'll work just fine.
Post #6053
Posted 01/22/2007 2:47:22 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 5:04:58 PM
Posts: 4,780, Visits: 4,744
Glad to help
Post #6055
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 3:18am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 9 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.