Open File dialog
script吧
全部回复
仅看楼主
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
level 1
cnfyer 楼主
打开一个文件对话框如果能打开 返回1否则返回0
2005年11月04日 20点11分 2
1