建议在foxtable做一个按钮处理,如
Dim proc As new Processproc.File = ApplicationPath & "capture.exe"proc.WaitForClose = Trueproc.StartIf ClipBoard.GetImage IsNot Nothing Then ClipBoard.GetImage.save(projectPath & "attachments/test.jpg") msgbox("保存到了")
Tables("表A").current("第一列") = "test.jpg"End If