InvalidActiveXStateException occurred Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown.

Posted by Anwarcode under WPF on 2/14/2010 | Views : 7677 | Status : [Member] | Replies : 2
Hi,

I am using third party component DynamicPDFviewer control in WPF application. When I try to binding/use the control source to the stream I am getting this exception InvalidActiveXStateException occurred {"Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown."}.

How to set the OcxState of the activeX control in WPF application.

Regards,
Anwar




Responses

Posted by: Abhi2434 on: 2/14/2010 [Member] [Microsoft_MVP] [MVP] Silver

Up
0
Down
Seems to be a cross Post... Already answered in your other post.

Guys Ignore this one...

:)

www.abhisheksur.com

Anwarcode, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nishithraj on: 2/18/2010 [Member] Bronze

Up
0
Down
Then I I think it can be marked as answered

Mark this as answer, if it is.....

With regards
Nishithraj Narayanan

Anwarcode, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response