murugans1011
11 years agoRegular Contributor
Invalid argument count exception
in my script i used 'waitvbobject' method to wait for an particular vbobject
when i try to run the script i m gettig exception that "Invalid timeout value" so i replaced the line with
if not Sys.Process("Process").WaitVBObject("Object").Exists then
when i try to run the script i m gettig exception that "Invalid timeout value" so i replaced the line with
if not Sys.Process("Process").WaitVBObject("Object",3000).Exists then 'to wait vbobject for 3 seconds
and now i m getting "invalid argument count exception". is some wrong in my script? In above both cases the tested object is really exists.
Hi Murugan,
It looks like FrmPurchaseOrder is the name of the mapped object. Thus, you need to use the WaitNamedChild method instead of the WaitVBObject method.