Thanks Parksie; but that gets the users' profile folder not their home folder. Any ideas?
Cheers
Simon
[Edited by SimonPearce on 08-20-2000 at 05:38 PM]
Printable View
Thanks Parksie; but that gets the users' profile folder not their home folder. Any ideas?
Cheers
Simon
[Edited by SimonPearce on 08-20-2000 at 05:38 PM]
Hmm...It might be in the registry somewhere. I can't tell because I haven't got an NT machine here at the moment.
Try this:
Good luck!Code:Dim sHomePath As String
sHomePath = Environ("HOMEDRIVE") & Environ("HOMEPATH")
I thought it must have been something simple, but my Win2k machine is dead at the moment... :(