JavaScript Editor Ajax toolkit     Ajax website 

Main Page

An object supplied to VBArray was not a Visual Basic safeArray, when one was expected. Visual Basic safeArrays, which cannot be created directly in JScript, must be imported by retrieving the value from an existing ActiveX or other object or from a Visual Basic script on the same Web page.

To correct this error

  1. Verify that only a Visual Basic safeArray object is passed to the VBArray constructor.

  2. Use a System.Array object. This allows for any .NET language (including JScript and Visual Basic) to access and modify the array.

See Also


VBArray Object


Array Use

JavaScript Editor Ajax toolkit     Ajax website