roy roy
Hello.
Your help is very much appreciated.I am trying to print Snap Shot file from C# Win app. using the following code:
SnapshotViewerControl.SnapshotViewerClass ctl=
ctl.SnapshotPath = @"c:\test\t1.snp";
ctl.PrintSnapshot(
However, when trying to execute the last line ("..PrintSnapshot(..."), it throws an error:{"Exception from HRESULT: 0x800A09C6." }
The sanpshot component was downloaded from Microsoft (http://www.microsoft.com/downloads/details.aspx?amp;amp;displaylang=en&familyid=B73DF33F-6D74-423D-8274-8B7E6313EDFB&displaylang=en
)
Any idea please?The full error code is below:
or, the full "watch"of the error is:
- wswse {"Exception from HRESULT: 0x800A09C6." } System.Exception+ [System.Runtime.InteropServices.COMException] {System.Runtime.InteropServices.COMException} System.Runtime.InteropServices.COMException System.Object {System.Runtime.InteropServices.COMException} System.Object _className null string _COMPlusExceptionCode -532459699 int+ _exceptionMethod {System.Reflection.RuntimeMethodInfo} System.Reflection.MethodBase _exceptionMethodString null string _helpURL null string _HResult -2146825786 int _innerException { } System.Exception _message "Exception from HRESULT: 0x800A09C6." string _remoteStackIndex 0 int _remoteStackTraceString null string _source "Interop.SnapshotViewerControl" string+ _stackTrace {System.Array} System.Object _stackTraceString " at SnapshotViewerControl.SnapshotViewerClass.PrintSnapshot(Boolean fShowDialog)\r\n at WindowsApplication5.Form1.button1_Click(Object sender, EventArgs e) in c:\\documents and settings\\roys\\desktop\\test\\windowsapplication5\\form1.cs:line 94" string _xcode -532459699 int _xptrs 0 int HelpLink null string HResult -2146825786 int InnerException { } System.Exception Message "Exception from HRESULT: 0x800A09C6." string Source "Interop.SnapshotViewerControl" string StackTrace " at SnapshotViewerControl.SnapshotViewerClass.PrintSnapshot(Boolean fShowDialog)\r\n at WindowsApplication5.Form1.button1_Click(Object sender, EventArgs e) in c:\\documents and settings\\roys\\desktop\\test\\windowsapplication5\\form1.cs:line 94" string+ TargetSite {System.Reflection.RuntimeMethodInfo} System.Reflection.MethodBase wswse._className null string
Thank you,Roy