Hi
Where is more convenient to use these API in a form ?
By a click or load?
When i run an apllication where goes temporary files? Did they go automatically to temp directory?
Thanks in advance
Printable View
Hi
Where is more convenient to use these API in a form ?
By a click or load?
When i run an apllication where goes temporary files? Did they go automatically to temp directory?
Thanks in advance
I think so, If you really need to get the temp files then you need to used the GetTempFile API function to locate the Windows Temporary Directory as below:
:)Code:Dim strTemp As String
strTemp = String(100, Chr$(0))
GetTempPath 100, strTemp
strTemp = Left$(strTemp, InStr(strTemp, Chr$(0)) - 1)
MsgBox "Windows Temp Directory is " & strTemp