Spire.DocViewer for .NET is a powerful Word Viewer component for developers to display, convert and interact with Word Documents easily.

Mon Feb 06, 2017 11:55 pm

Hello
After successfully viewing a WORD document using the latest version of the DocViewer (I downloaded today 2/6/2017)
when I exit the application I get the following error message from Visual Studio 2015 (I'm using VB):

An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.Windows.Forms.dll
Additional information: Error creating window handle.

Any idea why and how to correct?

Thanks in advance.
Steve

sjbrand
 
Posts: 2
Joined: Wed Jun 15, 2011 9:41 am

Tue Feb 07, 2017 3:31 am

Dear sjbrand,

Thanks for your inquiry.
I have tested the scenario with the latest Spire.DocViewer V2.3.2, but didn't encounter any issue.
We will appreciate it if you could tell us detailedly how you exit the application and the better to offer us a sample project.
That would be very helpful to investigate this issue.

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Wed Feb 08, 2017 12:37 am

Thanks Betsy.
I exit the application by clicking a button that execute the "End" command.

Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.Click
End
End Sub

I am using the DocViewer version if that makes any difference.

I do not dispose of any components programatically? Do I need to do that after viewing/loading the documents and
before closing the application?

Thanks.
Steve

sjbrand
 
Posts: 2
Joined: Wed Jun 15, 2011 9:41 am

Wed Feb 08, 2017 2:40 am

Dear Steve,

Thanks for the information.
I have noticed the issue and posted it to our Dev team. Once there is any progress, we will let you know.
Sorry for inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.DocViewer