Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run without Dos box
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00139702
Message ID:
00140849
Views:
27
>>I remember seeing a technique for doing a RUN command without seeing the DOS window pop up.
>>I want to synchronise a client pc to the NT server using
>>
run /n net time \\server /yes
>>but not see the box.
>>BTW, is there another way of doing this seemlessly?
>
>Hi David,
>
>Why not use NetRemoteTOD() API function?


I have done this in FPW2.6 - Run a dos app without the DOS window popping up. I got the idea from a VBasic help tips&Tricks file. It is buired somewhere and will dig it out. Basically you need to run the dos program with a special .pif and from FPW using foxtools call the API SHOWWINDOW with the parameter HIDE. I will delve deep and come up with it if you still need it.

Regards
Bernard
WeighMaster
Brisbane
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform