招聘笔试题及答案:如何使用VB打开文件夹并定位到一个文件上,用SHOpenFolderAndSelectItems函数?
来源:百度文库 编辑:杭州交通信息网 时间:2024/06/11 00:08:39
如何使用VB打开文件夹并定位到一个文件上,用SHOpenFolderAndSelectItems函数?
dim myfile as string
myfile=dir(filepath)
shell myfile
最好用scriptruntime中的filesystemobject