PLS HELP: ActiveX control / apartment threading error

  • Thread starter Thread starter Sreejumon [MVP]
  • Start date Start date
S

Sreejumon [MVP]

Hi,

If you want to use the activex controls in your asp.net
page, you ahev to use the single aprtment thread model.
For that please add the "aspcompat=true" attribute the
page directive.

Let me know the result.

Regards
Sreejumon
DOTNET makes IT happen
 
Thanks for your response.

The good news is that I don't get that error anymore after adding that
directive to my aspx page. The bad news is that my user control (created in
VB.NET & contains the non-managed ActiveX control) doesn't show up on the
page. In fact, at design time it shows up at the bottom of the webform, I
guess because I dont have a "custom designer" or something.

Any ideas why this control doesn't show up?
 
Back
Top