> is there a way to find out the paht to the "my documents" folder
> for the current logon user?
Well, you'd need the logon user's name, which you may be able to find
with the following:
strCurUser = baReadRegString(
"Software\Microsoft\Windows\CurrentVersion\Explorer", "Logon User Name",
"error", "HKEY_CURRENT_USER" )
So that would put the 'My Documents' folder at something like:
strDir = "C:\Documents and Settings\" & strCurUser & "\My Documents\"
No guarantees that this is the best place to find strCurUser though.
There may be a more reliable place, but I haven't found it. You get the
idea.
HTH
Rob
/*********************************
* Rob Wingate, Software Human *
* http://www.vingage.com *
* mailto:[EMAIL PROTECTED] *
*********************************/
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]