when writing below code its showing error message.
Error message: Invalid Procedure call or argument.
Please suggest me whats wrong with this statement and suggest me correct statement.
GetItemsCount requires an argument. That Argument is a representation of the Toolbar, either the index for it or the key. And it returns the number of items on the Toolbar. As with any action that returns a value, you must have parenthesis around the argument(s), so an example in your case may be:
set dockArea = SwfWindow("Personify: NASE")SwfToolbar( "_MDIMain_Toolbars_Dock_Area_To")
- or -
count = dockArea.GetItemsCount(0)
I guess it depends on what you are trying to get the count on.
I hope this answers your question to your satisfaction,