471,627 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

Office Web Component Events

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...b;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?

Nov 30 '05 #1
1 2069
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
-------------------------------------------------------

<gb********@excite.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com... 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...b;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?

Nov 30 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Raju Joseph | last post: by
reply views Thread by Patrick Blackman | last post: by
6 posts views Thread by Luke Vogel | last post: by
1 post views Thread by Alberto | last post: by
1 post views Thread by BK | last post: by
122 posts views Thread by Edward Diener No Spam | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.