Office Web Component Events

  • Thread starter Thread starter gbradford3
  • Start date Start date
G

gbradford3

I am creating a C# windowsform app and I wish to use the OWC10 com
component.

I have followed the below instructions to enable events on the
component:
"HOW TO: Handle Events for the Office Web Components in Visual
Studio .NET" -
http://support.microsoft.com/default.aspx?scid=kb;en-us;328275

I receive the below errors on step 11 of the instructions:
AxOWC10.cs(1750,49): error CS0246: The type or namespace name
'OWC10' could not be found (are you missing a using directive or an
assembly reference?)

Any ideas as to how to correct this problem or does anyone have an
OWC10.dll that this has been completed on?

======
- OR -
I can use a datagrid and OleDB to load and display the excel
spreadsheet. I have a couple of problems here in that I need to know
the format options of the cell I am reading and I also need to be able
highlight multiple rows in the datagrid with the mouse.

Got any ideas how to do this?
 
The article is incorrect on certain steps (8 and 9) I think. I had made a
mental note to submit a correction notice to micrsoft about it but
completely forgot. If memory serves me correctly, you need to open the
wrapper and adjust the names.
I can use a datagrid and OleDB to load and display the excel
spreadsheet.
This should be easy in a windows forms app, however it is quite hairy in a
web app.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
 

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

Similar Threads


Back
Top