OWC XP Spreadsheet Events don't work...

B

Bryan

I have been busin hump on this for a couple days and still haven't found a solution.

I have successfully added the Office XP Web Component (Spreadsheet) to a Windows form in the C# IDE. The component it fully functional except 90% of the events don't work. For example the SelectionChange event doesn't fire when a new selection is made. I have placed a Office 2000 Web Component (Spreadsheet) on a form and the events work fine

I found this documentation (http://support.microsoft.com/default.aspx?scid=kb;EN-US;328275) which describes my situation. Not sure why but these instructions don't seem to work. I get all the way done with everything and I am ready to compile and get these 2 errors

error CS0006: Metadata file 'adodb.dll' could not be found erro
CS0006: Metadata file 'msdatasrc.dll' could not be foun

I check the gac to see if these are registered using "gacutil /lr" and they are present and registered. Has anyone else had this problem with OWC XP (Spreadsheet) events in a C# Windows App? If so, did you have to recompile the wrapper as described in the link above? If you had to recompile the wrapper, did it work? Any hints on getting this to work

Thanks in advanced!!

Bryan
 
T

Thao Moua [ms]

When you add the OWC11 component reference to your project, VS.Net automatically includes the ADODB and MSDATASRC references. If you don't already have them add the OWC11 component to your reference

Thao Mou
OWC Webchart Suppor

This posting is provided "AS IS" with no warranties, and
confers no rights. Use of included script samples are
subject to the terms specified at
http://www.microsoft.com/info/cpyright.ht

----- Bryan wrote: ----

I have been busin hump on this for a couple days and still haven't found a solution.

I have successfully added the Office XP Web Component (Spreadsheet) to a Windows form in the C# IDE. The component it fully functional except 90% of the events don't work. For example the SelectionChange event doesn't fire when a new selection is made. I have placed a Office 2000 Web Component (Spreadsheet) on a form and the events work fine

I found this documentation (http://support.microsoft.com/default.aspx?scid=kb;EN-US;328275) which describes my situation. Not sure why but these instructions don't seem to work. I get all the way done with everything and I am ready to compile and get these 2 errors

error CS0006: Metadata file 'adodb.dll' could not be found erro
CS0006: Metadata file 'msdatasrc.dll' could not be foun

I check the gac to see if these are registered using "gacutil /lr" and they are present and registered. Has anyone else had this problem with OWC XP (Spreadsheet) events in a C# Windows App? If so, did you have to recompile the wrapper as described in the link above? If you had to recompile the wrapper, did it work? Any hints on getting this to work

Thanks in advanced!!

Bryan
 

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