compiling axowc10.cs

R

Rabbani

Facing this problem when compiling axowc10.cs

Anyone been able to get OWC working with VS.Net 2003? I'm
trying to follow some articles on MSDN but I'm stuck.

First there is this that has a sample for VB.Net
http://support.microsoft.com/default.aspx?scid=kb;en-
us;319557

But for that you need the PIAs found here
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;328912

And after you get the PIA you must modify it to be used
with VS
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;328275

The last one has me blocked. I've followed the steps up to
the end but my compile is failing with the following error
repeated a few hundred times:

AxOWC10.cs(1706,49): error CS0246: The type or namespace
name 'OWC10' could not be found (are you missing a using
directive or an assembly reference?)

I did a search for "axowc10" and didn't find much. I'm not
too familiar with command line compiling or C# so I'm not
able to fix the problem myself. Anyone have any idea?
 
A

Alvin Bruney

You will need to import the owc10.dll into your project by setting a
reference to it. This will make the object API available to your
application. The particular dll is available thru a download on microsoft's
website under office web components download. Or it may be already be on
your hard drive. Try searching your drive first. Once you import the dll,
set a reference to it by using the 'using' declarative or the imports
statement depending on language.
 

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

Top