level 1
cnfyer
楼主
set oUA = CreateObject("UserAccounts.CommonDialog")' exposed in nusrmgr.cplx = oUA.ShowOpenwscript.echo x ' shows False if user cancels selectionwscript.echo oUA.FileName or set oFO = CreateObject("SAFRCFileDlg.FileOpen")' exposed in safrcdlg.dllx = oFO.OpenFileOpenDlgwscript.echo x, oFO.FileName Note that the return value from the call using SAFRCFileDlg.FileOpen has inverted logic; you get back a 1 if the user selected a file rather than -1.
2005年11月04日 20点11分
1