OWC11 and c#

J

Jono

I have converted all the vb code in the web service to c# (I find it easier
to work in c#). It is now though erroring on the following lines:
//*************************************
object vk_missing = System.Reflection.Missing.Value;
bool t;
t=false;
objPTView.RowAxis.InsertFieldSet(fSetRow,vk_missing,t);
//*************************************

I decided to have a look at objPTView in the command window and have noticed
that FieldSets and Totals have errors. Are there any reasons for this or
does owc not work with c#
Errors:
FieldSets: <error: an exception of type:
{System.Runtime.InteropServices.COMException} occurred>

Totals: <error: an exception of type:
{System.Runtime.InteropServices.COMException} occurred>

I have checked this in vb and there are no errors.
Is there another way to add the rows and columns via code?

Many thanks
Jono
 

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