VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



if you want to get the system directory

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 system directory

Rate if you want to get the system directory



Private Sub Command2_Click()
Dim sysstr As String * 256
GetSystemDirectory sysstr , 256
MsgBox Left(sysstr , InStr(sysstr , Chr(0)) - 1)
end 
End Sub

Download this snippet    Add to My Saved Code

if you want to get the system directory Comments

No comments have been posted about if you want to get the system directory. Why not be the first to post a comment about if you want to get the system directory.

Post your comment

Subject:
Message:
0/1000 characters