mengl520 发表于 2011-9-12 23:50

ShellExecute打开特殊文件

'我的文档 ShellExecute Me.hwnd, "open", "explorer", vbNullString, vbNullString, 1
'我的电脑
ShellExecute Me.hwnd, "open", "explorer", "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", vbnulstring, 1

'网上邻居
ShellExecute Me.hwnd, "open", "explorer", "::{208d2c60-3aea-1069-a2d7-08002b30309d}", vbNullString, 1
'回收站
ShellExecute Me.hwnd, "open", "explorer", "::{645ff040-5081-101b-9f08-00aa002f954e}", vbNullString, 1
'控制面板
ShellExecute Me.hwnd, "open", "explorer", "::{21ec2020-3aea-1069-a2dd-08002b30309d}", vbNullString, 1
'打开指定的路径
ShellExecute Me.hwnd, "open", "D:\vb练习事例", vbNullString, vbNullString, 1
'音量控制
Shell "sndvol32.exe", vbNormalFocus

xyxz 发表于 2012-4-5 13:32

软件用ShellExecute以后会报毒,这个该怎么解决呢

乱码 发表于 2012-4-8 20:43

第一次看见这样用的,顶一下...

shaokui123 发表于 2012-10-23 21:43

学习了,试试看

rongaimin 发表于 2012-10-24 20:26

这是什么?
页: [1]
查看完整版本: ShellExecute打开特殊文件