| Private Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long Option Explicit Public Sub GetWin_Dir() Dim buf As String * 256 Call GetWindowsDirectory(buf, Len(buf)) msgbox buf, vbInformation, "info" End Sub |
Get Windows Directory |
Express News India | Freelance ecommerce web development India