Yuri--
>Perhaps this:
>
>DECLARE INTEGER ShellExecute ;
> IN SHELL32.DLL ;
> INTEGER nWinHandle,;
> STRING cOperation,;
> STRING cFileName,;
> STRING cParameters,;
> STRING cDirectory,;
> INTEGER nShowWindow
>
>?ShellExecute(0,"open","net"," USE R: /D","",0)
>?ShellExecute(0,"open","net"," USE R: \\W0028109792\DATAWARE","",0)
>
>clear dlls
>
>
>
I tried this. It appears that I am getting control back before the map is complete. If I delay using the R drive for a bit, it is there. If I try to use it immediately, it is not there. What is the best way to wait for the map to be complete?
I am getting a return of 42 from ShellExecute. What are the return values?
Thanks.
Tim