OWC procedures for VS.Net from MSDN fails to compile

M

Matt

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

03 does all this for you. if you drag and drop from the toolbox, the PIA is
set up by default. you should just be able to say imports excel
as opposed to imports excel = microsoft.junk.never.works.quite.right

hth
 
M

Matt

I guess I can try it again but according to the article on the VB.Net
sample (http://support.microsoft.com/default.aspx?scid=kb;en-us;319557)
the PIA modification is required:

"Before you start the following steps, you must modify the class
wrappers that Visual Studio .NET generates for the Office XP Web
Components (OWC). Modification of the class wrappers is required for
Visual Basic .NET to properly handle OWC events. For additional
information, click the article number below to view the article in the
Microsoft Knowledge Base:
(http://support.microsoft.com/default.aspx?scid=kb;EN-US;328275) "

The articles are dated 7/30/2003 so I assume the take 2003 into
account. The VB.Net sample also refers to object that begin with "Ax"
like AxChartSpace which I think will only exist if you follow the
steps to modify the wrappers.
 

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