我在使用VB自带的报表,总有*.tmp文件出现!我想在关闭窗口的时候删除*.tmpAPI:
Private Declare Function DeleteFile Lib "kernel32" Alias "DeleteFileA" (ByVal lpFileName As String) As Long
DeleteFile App.Path & "\" & "*.tmp"
没有作用kill App.Path & "\" & "*.tmp"决绝权限还有什么办法呢??
Private Declare Function DeleteFile Lib "kernel32" Alias "DeleteFileA" (ByVal lpFileName As String) As Long
DeleteFile App.Path & "\" & "*.tmp"
没有作用kill App.Path & "\" & "*.tmp"决绝权限还有什么办法呢??
单独做一个工程
form_load()时候kill App.Path & "\" & "*.tmp" 编译成EXE文件在当前工程工调用,