>Hey all
>
>Can someone post a VFP working sample to map \\server\myfolder to drive W: with userid and password via WNetAddConnection2. I've tried it raw and with Christof's struct.zip and I'm always getting an error from the function. I'm obviously missing something.
>
>Thanks
I haven't tried it myself, but this
http://vfpdev.narod.ru/download/wnetaddc.zip should give you an example. (Comments could be in Russian).
From
http://forum.foxclub.ru/read.php?29,230414,283220
If it's not broken, fix it until it is.
My Blog