Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reconnect to mapped network drive
Message
De
05/10/2007 17:18:46
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01258845
Message ID:
01259088
Vues:
20
>Have you tried this to force the drive to unmap? It will work as long as the OS has no open files (or folders) on the drive:
>cDriveLetter=...whatever is the mapped drive letter
>TRY
>  oNW=CreateObject("WScript.Network")
>  oNW.RemoveNetworkDrive(cDriveLetter)
>CATCH
>  ...whatever
>ENDTRY
>
>>There isn't a network section. I'm not sure this section right but...
>>
>>Hi All,
>>
>>You know. You map a network drive. After downed remote computer, connection will be no longer. Remote computer turned up again and you have to click that mapped drive from my computer for run your links mapped from that drive. That click make your pc reconnect that remote computer.
>>
>>How can I do that with VFP codes without click from my computer that mapped drive? I have to reconnect that mapped drive...

Thanks, Borislav's message worked good.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform