Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get the Documents and Settings directory?

Status
Not open for further replies.

MackAA

Programmer
Mar 21, 2006
13
CA
Hello guys,

I'm developping a windows application in vb.net 2003 and I'd like to get the Documents and Settings directory using the windows lib.

Something like that:

Declare Function getSysytemDirectory Lib "kernel32" Alias "getSysytemDirectoryA" (ByVal sSectionName As String, ByVal sKeyName As String, ByVal sString As String, ByVal sFileName As String) As string

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top