| || |
The script is failing when I ran it in IE8 (Windows 7 system)
"ActiveX component can't create object":'UserAccounts.CommonDialog'
on this line of the script
Set objDialog = CreateObject("UserAccounts.CommonDialog")
But it works in IE7 (XP system)
This ActiveX object is not supplied with Windows starting from Vista anymore.
I recommend that you used the built-in User Forms feature of TestComplete. It allows calling standard Open/Save dialogs (the Dialogs category). Please find more information in the User Forms and About User Forms Components help topics.