Vb编写问题!怎么做才能点击Command弹出 我的文档???我是新手

来源:百度知道 编辑:UC知道 时间:2024/05/27 16:16:26

Private Sub Command1_Click()
Shell "explorer.exe "
End Sub
这是打开我的文档,下面是打开任意路径
Private Sub Command1_Click()
Shell "explorer.exe ""路径"""
End Sub

shell"explorer 我的文档路径"

Private Sub Command1_Click()
Shell "explorer"
End Sub

如果打开explorer窗口的话楼上可以
如果是要选择打开、保存对话框的话用common diologue在属性页里设置初始文件夹为我的文档,再用show打开对话框