Hem / Tips & tricks
Dim strBuffer As StringDim lngReturn As LongDim strWindowsSystemDirectory As StringstrBuffer = Space$(MAX_PATH)lngReturn = GetSystemDirectory(strBuffer, MAX_PATH)strWindowsSystemDirectory = Left$(strBuffer, Len(strBuffer) - 1)