469,924 Members | 1,365 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,924 developers. It's quick & easy.

Help integrating an ActiveX control used by the server

Hi all,

I am trying to use an ActiveX control on the server-side of an ASP.NET
2.0 application written in C#. The ActiveX control is a 3rd-party
interface to a data feed used by my application and does not have a

To accomplish this, I am trying to create a Windows.Form to host the
ActiveX control with the intent that the events generated by the
control could be used by the server for data processing.

Question #1: Is there a better approach for hosting the ActiveX

The problem I am having is that I don't seem to be retrieving any
events when I Show() the form hosting the control. One thing I noticed
is that if I try to display a MessageBox in the same thread, I get an
exception referencing the UserInteractive environment property
(UserInteractive isn't set for this application).

I don't receive any exceptions when I call Form.Show() on my ActiveX
host dialog, but something is wrong, because I am not receiving any
events from the control. The control is initialized and I can call
methods on the control...just no event loop.

Any ideas/thoughts? Thank you for your help.

Jan 17 '06 #1
0 1068

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Rob T | last post: by
3 posts views Thread by Jeffery Franzen | last post: by
3 posts views Thread by Weston Fryatt | last post: by
6 posts views Thread by hufaunder | last post: by
1 post views Thread by Jialiang Ge [MSFT] | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.