Excel Chart on Windows Form in Microsoft Visual Basic 2005 Express Beta

W

wernerkoelbl

Hi,

I have a problem using COM-Components like Microsoft Office Chart 11 or
Spreadsheet 11 (also with Chart 10, etc.) in Microsoft Visual Basic
2005 Express Beta Edition.

I've checked exactly what's described here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/office11012001.asp

After adding the COM-Components to the toolbox, I try to use it and
drag them onto the Windows Form and get the error message:

"Failed to import the ActiveX control. Please ensure it is properly
registered."

Everything seems okay. I also have registered the owc11.dll with
regsvr32, but nothing worked.

Additionally I get the warnings:
The "ResolveComReference" task failed unexpectedly.
.........
.........
The referenced component 'AxOWC11' could not be found.

Thanks for your help!

Regards,
Werner
 
A

Alvin Bruney [MVP - ASP.NET]

I've been following this issue. It seems to be a problem but I haven't
really been motivated to chase it down since it is beta and things change so
much that it makes it sort of pointless. I'll continue to keep an eye on it
though...

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
 
D

Dave.T

Hi,
I have exactly the same problem. Two programs that worked in VS2003 no
longer works after conversion. So I started from scratch and got the
error messages you described. I am using C# with VS2005 Professional beta.

Dave Thompson
 
T

tim.scarfe

I have exactly the same issue with beta 2 of vs 2005. It's killing me.

Thinking out loud:

*perhaps try programatically adding the OWC excel control, may be a VS
designer issue
*I have tried using MSFT dsoframer.ocx but then have intermittant
events problems in my app
*perhaps try hosting excel in a webbrowser control... hmmm.

Tim Scarfe
 
V

V

Remove in your
..vbproj file the following lines

<COMReference Include="AxOWC11">
....
....
....
</COMReference>


and save the file.
 

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