>thanks George,
>
>Your sample works.
>At last I found which my remembered. It actually doesn't an activex. It's a VFP foundation class named "Common System Folders". It amazed me. I relaxed now :)
It's calling the SHGetFolderPath() API call. It does provide some functionality that the WSH doesn't. For example, the Program Files path.
George
Ubi caritas et amor, deus ibi est