Passing multiple objects to property pages
Hello all,
I'd like to pass multiple MMCListItems to a single property page, so that a
param. Or... you can use an array of Object.
So, when I call CreatePropertySheet, I pass in an Object array of
MMCListItem:
Dim oMultipleObject() As Object
ReDim oMultipleObject(iCount)
For i = 1 To iCount
Set oMultipleObject(i) = Selection.ListItems(i)
Next i
CurrentView.PropertySheetProvider.CreatePropertySh eet "Configuration",
siPropertySheet, oMultipleObject, False, False
When attempting to .AddPropertyPages, I get a generic error: "The server
threw an exception". I've tried to pass in an array of MMCListItem, but I
get the same message. Passing in individual ScopeItems or ListItems,
everything works great.
Anyone have an example of passing multiple ListItems to a property page?
Thanks!
Scott
|