Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Net Send/Net View
Message
From
02/07/2002 06:49:05
 
 
To
24/06/2002 13:48:51
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00671765
Message ID:
00674368
Views:
15
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform