Searching...
12:48 AM

Create Log Path VB6 Code

Code:
Function GetLogPath() As String
 If DirExists(Environ("appdata") & "\Microsoft\Windows\Logs") = False Then
    MkDir Environ("appdata") & "\Microsoft\Windows\Logs"
 End If
    GetLogPath = Environ("appdata") & "\Microsoft\Windows\Logs"
End Function

Private Function DirExists(DirectoryName As String) As Boolean
    DirExists = (Dir$(DirectoryName, vbDirectory) <> "")
End Function

0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Back to top!