>Great big ol' wet kisses to you and George (and honorary smooches to Alan, Jose, Mark, and James for helping with ideas.
>
>This finally did the trick!
DECLARE INTEGER GetForegroundWindow IN WIN32API
>
>DECLARE INTEGER WNetRestoreConnectionW IN Win32API ;
> INTEGER hwndParent, STRING lpDevice
>LOCAL lnHwnd as Integer
>lnHwnd = GetForegroundWindow()
>lnError=WNetRestoreConnectionW(lnHwnd,STRCONV(STRCONV('L:'+CHR(0),1),5))
>?lnHwnd, lnError, DRIVETYPE("L")
>
>
>Haven't sussed the syntax for doing it with a null parameter. Passing 0 for lpDevice just doesn't work. No error, but no reconnection, either. For now, as long as I can iterate thru all the possible drive letters, I'll be happy.
>
>Thank you _so_ much.
No problem - I'll collect on the kiss the next time I make it out to Seattle...