'Get current directory using GetCurrentDirectory API
'Get current directory using GetCurrentDirectory API
Rate 'Get current directory using GetCurrentDirectory API
(1(1 Vote))
'http://www.geocities.com/marskarthik
'http://marskarthik.virtualave.net
'Email: [email protected]
Private Sub Form_Load()
Dim cwd As String
Dim length As Long
cwd = Space(128)
length = GetCurrentDirectory(128, cwd)
cwd = Left(cwd, length)
MsgBox cwd
End
End Sub
'Get current directory using GetCurrentDirectory API Comments
No comments yet — be the first to post one!
Post a Comment