Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to: subscribe for the viewer's Error event

$
0
0

I am running a third party report tool and am trying to understand how to comply with their request. My report works fine in all export modes with the exception of export to word at which time it throws a "Index was outside the bounds of the array" error. This does not occur in any other export mode (i.e., Excel, RTF, TIFF, yada, yada.)

The request from the vendor is " subscribe for the viewer's Error event and the report's Error event to get the exception."

I run Win8.1 and would like to create a subscription to the View Event log to trap the occurrence of this error. I have tried to locate some documentation online as to how I can accomplish this.

Where can I find this information as well as an example?


Tom Mann MCSD C#


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>