Thanks Sergey. This looks like the ticket. Cheers.
>Hi Colin,
>
>
>The demo_wnetaddconnection3.prg in
NETRESOURCE structure class File #
9502 shows how to connect programmatically to the remote computer.
>
>>I have a number of servers I can connect to via VPN and IP address and I was wondering if there was a way I could connect to these servers from within VFP.
>>
>>Is there an ActiveX control, win32api function, etc that will allow me to connect to a server in a similar (though not the same because I don't want to map a drive) fashion as NET USE does?
>>
>>Any thoughts greatly appreciated.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.