kolauy

hi, all:

In a custom wizard's script statements of default.htm, I get a ProjectItems by:

var oPIs = window.external.ProjectObject.ProjectItems;

but oPIs cannot use "Item" method, and the other methods is normal.

I use the method like this: oPIs.Item(0);

And the error info is: invalid process call or parameter (sorry! I don't remember clearly).

Can anybody give me some help

Thanks!




Re: Visual Studio Extensibility ProjectItems problem?

Carlos Quintero - MVP

ProjectItems.Item is indexed numerically starting at 1, not at 0.