Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Net Send/Net View
Message
De
02/07/2002 06:49:05
 
 
À
24/06/2002 13:48:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00671765
Message ID:
00674368
Vues:
14
>Olá All,
>
> Utilizo NET PREVIEW >Nome_Arq e NET SEND p/ enviar msg entre estações, de dentro de um programa Fox, só que aparece a tela preta do DOS. Gostaria de saber como não deixar aparecer esta tela, ou outra alternativa, por ex. uso de API.
>
>Obrigado
>
>Rio

Tenta com o WSH (eu não tentei so não sei si resolvera):
#define SW_SHOW_NORMAL 1
#define SW_SHOW_MINIMIZED 2
#define SW_SHOW_MAXIMIZED 3
oShell = createobject("WScript.Shell")
oShell.Run("<seu comando DOS aqui>",SW_SHOW_MINIMIZED,.F.)
HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform