473,718 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2169
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********@exc ite.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.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
3535
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 _word = New Word.Application Then I proceed to sink the word events that I need.
0
2308
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
2575
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) 'Interop.Microsoft.Office.Core'(Microsoft Office 10 Component) for my project. But it seem that its not work fine in others computers (differenct than the one I develop the project, where the addins work fine) the Dot NET raise errors: + "The Dependecy ...
6
1869
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? cheers... have a great Christmas all! -- Regards Luke. ----- There are 10 types of people in this world
1
1337
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 need some more componentes ? Thanks
1
5505
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 project from time to time. We always have problems when he loads up the latest version of the Solution however, and it appears to be a compatibility issue with difference in Office versions. My development platform is Xp Professional running...
3
5873
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: public partial class CheckAccountsService : ServiceBase {
0
5778
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 other vendors documents to SQL Server (Blobs) and enter the classification data for a document, an asign a circuit of persons who have to approve before being accesible to readers (lists of readers you can add too). I come up to serach for a...
122
7388
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 outside of that class. This structured way allows visual tools to host components, and allows programmers to build applications and libraries visually in a RAD environment. The Java language has JavaBeans as its component model which allows Java...
0
8827
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
8722
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9352
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9118
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9052
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5971
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4481
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2550
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2122
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.