hi,
I try to use this script but it doesn't work.
I've tried this one from Microsoft but same thing

Set objDialog = CreateObject("UserAccounts.CommonDialog")
objDialog.Filter = "All Files|*.*"
objDialog.InitialDir = "C:\"
intResult = objDialog.ShowOpen
If intResult = 0 Then
Wscript.Quit
Else
Wscript.Echo objDialog.FileName
End If
I work on 2003 R2 US (so vbs 5.6) and MDAC 2.8 is installed and with admin right (for testing). I think it must be ok ?
I always have this error
Microsoft VBScript runtime error: ActiveX component can't create object: 'MSComDlg.CommonDialog' 0x800A01AD
I must do something wrong but I don't know what...

If you can help me.
Best regards