Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2005

Tip: Looking for answers? Try searching our database.

Office Web Component Events

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gbradford3@excite.com - 30 Nov 2005 20:44 GMT
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?
Alvin Bruney - ASP.NET MVP - 30 Nov 2005 21:48 GMT
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.

Signature

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
-------------------------------------------------------

> I am creating a C# windowsform app and I wish to use the OWC10 com
> component.
[quoted text clipped - 21 lines]
>
> Got any ideas how to do this?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.