OWC11 IncludedMembers Variant Array Function won't work in VS2005

J

Johnyc

I'm trying to set the the IncludedMembers Property of a RowAxis FieldSet in a
PivotList Control hosted on a Windows Form in VS2005. I think this property
only allows a Variant Array to update the list of included members. Visual
Studio 2005 doesn't include the variant array function as VB6 did. Is there
a way to set the IncludedMembers Property to a list of items without using a
Variant Array Function.

Help on this would be appreciated.

Thanks,
JohnYC
 
J

Johnyc

I created an Array of Objects and passed it to the IncludedMembers Property
and it worked.

By the way - I do have a copy of your book - it offers alot of helpful info.

Thanks,
JohnYC

Alvin Bruney said:
No, because that would change the signature. However, you can pass in a type
of object.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Johnyc said:
I'm trying to set the the IncludedMembers Property of a RowAxis FieldSet
in a
PivotList Control hosted on a Windows Form in VS2005. I think this
property
only allows a Variant Array to update the list of included members.
Visual
Studio 2005 doesn't include the variant array function as VB6 did. Is
there
a way to set the IncludedMembers Property to a list of items without using
a
Variant Array Function.

Help on this would be appreciated.

Thanks,
JohnYC
 
A

Alvin Bruney [MVP]

np

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Johnyc said:
I created an Array of Objects and passed it to the IncludedMembers Property
and it worked.

By the way - I do have a copy of your book - it offers alot of helpful
info.

Thanks,
JohnYC

Alvin Bruney said:
No, because that would change the signature. However, you can pass in a
type
of object.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Johnyc said:
I'm trying to set the the IncludedMembers Property of a RowAxis
FieldSet
in a
PivotList Control hosted on a Windows Form in VS2005. I think this
property
only allows a Variant Array to update the list of included members.
Visual
Studio 2005 doesn't include the variant array function as VB6 did. Is
there
a way to set the IncludedMembers Property to a list of items without
using
a
Variant Array Function.

Help on this would be appreciated.

Thanks,
JohnYC
 

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