by Syed Danish Afzal Rizvi (13 Submissions)
Category: Windows API Call/Explanation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 20th August 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
if you want to get the temp directory
Private Sub Command2_Click()
Dim tmpstr As String * 256
GetSystemDirectory 256,tmpstr
MsgBox Left(tmpstr , InStr(tmpstr , Chr(0)) - 1)
end
End Sub