COM对象以创建“打开文件” Vista下的对话框? [英] COM object to create a "Open File" dialog under Vista?

查看:144
本文介绍了COM对象以创建“打开文件” Vista下的对话框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Windows Common对话框打开文件,从Jscript下的用户获取文件。这在MSCOMDLG.commondialog对象上使用ShowOpen()是可能的,但是我找不到在Vista下工作的等效方式。

I would like to use the Windows Common Dialog "Open File", to get a file from the user under JScript. This used to be possible using "ShowOpen()" on MSCOMDLG.commondialog object but, I can't find an equivalent way to do this that works under Vista.

推荐答案

尝试此操作

http://www.tech-archive.net/Archive/Scripting/microsoft.public.scripting.vbscript/2007-10/msg00444.html

帮助?

这篇关于COM对象以创建“打开文件” Vista下的对话框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆