473,387 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 2156
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Raju Joseph | last post by:
Hi All, We have a module that needs to automate word 2000 for certain added functionality. I have successfully created the component to do this. Basically I start word using a statement like ...
0
by: Patrick Blackman | last post by:
I have created a component in C# and have registered the component for use in com. I have put the following attributes on the component class : public class Thesaurus:Component
1
by: ns2k | last post by:
I develop an Addins Project for Excel in Visual Studio.NET that I need it to work for any machine in any Microsoft Office XP. I use the dependecy (reference)...
6
by: Luke Vogel | last post by:
Hi all ... could someone point me in the right direction for programming office applications (specifically excel) using vb.net? Can vb.net replace or enhance VBA that comes with the office suite?...
1
by: Alberto | last post by:
Hi all. I'd like to know if the "architect" version of Visual Studio .NET includes the environment to develop Office application. Any way is it possible to devolpo Office XP apps with VS .Net or I...
1
by: BK | last post by:
I have a .NET Solution (currently in 2003, FW 1.1) that uses Office automation for a few things (generates a Word document, dumps datagrids to Excel, etc.). One of my programmers works on the...
3
by: sokolo | last post by:
Hello, I wrote a windows service application however it is not working. The service is supposed to enter a new task every 5 sec within Microsoft Outlook. Here is the code for application: ...
0
by: martinb2007 | last post by:
Hi everybody! From Buenos Aires. A brief explanation of the application I'm developing. Any help or discussion about welcomed. I'm developing a Documents Manager that allows to upload office and...
122
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.