改成
Dim proc As new Processproc.File = ApplicationPath & "capture.exe"proc.WaitForClose = Trueproc.StartIf ClipBoard.GetImage IsNot Nothing Then ClipBoard.GetImage.save("d:\test.jpg") msgbox("保存到了d盘")End If