Google is your friend:
useraccounts.commondialog activex not found
Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site:
http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
----------------------------------------------------------------------
message: 1
date: Fri, 15 Jul 2011 11:52:20 -0400
from: "Mira, Antonio" <antonio.mira@xxxxxxxxxxx>
subject: [SystemiDotNet] Question about running macros...
Hello,
I have a macro that I created for an end user to do some repetitive tasks on a green-screen iSeries session. The macro is written in VB script and it runs fine under Windows XP. Recently, the user upgraded to Win 7 and when she tries to run the macro, she gets the following error:
Error in the script on line 190: AcitveX component can't create object: 'UserAccounts.CommonDialog'.
What the macro is attempting to do at that point is this command:
Set ObjFSO1 = CreateObject("UserAccounts.CommonDialog")
Which is needed to open an "Open File" dialog so the user can open a csv file for the macro to process it.
Has anybody run into this situation? And if so, what did you do resolve it? As always, thanks for the help. I have researched on the internet for this type of error and tried the solutions offered but had not had any luck.
Thank you,
Antonio Mira
Application Developer