OWC added to VS.NET toolbox, but still not there.

M

Matt Heere

I'm attempting to create an ASP.NET 2.0 page that will present the chart
component to the end user. I added the Office Web Components 11 entries to
the Visual Studio toolbox, but they only appear if I am creating a Windows
form. If I'm editing an ASP.NET web form, the OWC controls are greyed out.

Any suggestions on why this might be? I've not had similar problems with
other COM controls....

Thanks,
Matt
 
M

Matt Heere

Never mind, I figured it out. Believe it or not - it's related to the inane
way Internet Explorer decides whether or not to activate ActiveX controls.
 
A

Alvin Bruney [MVP]

Nope, it's not. The controls have been disabled in VS 2005. See my blog for
an official microsoft response.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
 
M

Matt Heere

OK, here's a direct quote from your blog:

"...We intentionally do not load or render the controls because of security
reasons. The browser has a sophisticated system for managing the rights and
permissions of the controls which we did not want to replicate in the Visual
Studio IDE..."

Explain to me how this isn't related to how IE manages controls.

I'll grant you that using the specific wording: "activation" may have been
misleading on my part. Instantiation would have been a better choice.
Activation of controls is a separate (albeit equally annoying) endeavor.


Alvin Bruney said:
Nope, it's not. The controls have been disabled in VS 2005. See my blog
for an official microsoft response.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Matt Heere said:
Never mind, I figured it out. Believe it or not - it's related to the
inane way Internet Explorer decides whether or not to activate ActiveX
controls.
 
A

Alvin Bruney [MVP]

Your post indicated that the controls were greyed out in Visual Studio (a
design-time environment) and that you added the controls from the toolbox (a
design-time activity). These are design-time attributes. They are unrelated
to how the controls will render at run-time in Internet Explorer. IE isn't
related to design-time rendering of OWC. IE activation issues relate to
run-time rendering.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Matt Heere said:
OK, here's a direct quote from your blog:

"...We intentionally do not load or render the controls because of
security reasons. The browser has a sophisticated system for managing the
rights and permissions of the controls which we did not want to replicate
in the Visual Studio IDE..."

Explain to me how this isn't related to how IE manages controls.

I'll grant you that using the specific wording: "activation" may have been
misleading on my part. Instantiation would have been a better choice.
Activation of controls is a separate (albeit equally annoying) endeavor.


Alvin Bruney said:
Nope, it's not. The controls have been disabled in VS 2005. See my blog
for an official microsoft response.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Matt Heere said:
Never mind, I figured it out. Believe it or not - it's related to the
inane way Internet Explorer decides whether or not to activate ActiveX
controls.

I'm attempting to create an ASP.NET 2.0 page that will present the
chart component to the end user. I added the Office Web Components 11
entries to the Visual Studio toolbox, but they only appear if I am
creating a Windows form. If I'm editing an ASP.NET web form, the OWC
controls are greyed out.

Any suggestions on why this might be? I've not had similar problems
with other COM controls....

Thanks,
Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top