Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comando NET USE
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Comando NET USE
Divers
Thread ID:
00750878
Message ID:
00750878
Vues:
49
Hola,
Necesito ejecutar desde una aplicacion VFP7 el comando del sistema operativo NET.

Actualmente ejecuto
RUN net use \\www.servidor.com\recurso miClave /user:miUsuario

Hasta aqui todo bien, pero me gustaria eliminar el "Fox Run Command" y su ventana de DOS. Quiero hacerlo "transparente" para el usuario.

Estuve viendo el comando API ShellExecute, pero no lo he podido hacer funcionar con los comandos NET. Ademas necesitaria saber si el comando se ejecuto bien o fallo.

Alguna idea ?
Desde ya muchas gracias.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform