Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does Run/N command work in Vista?
Message
De
21/11/2007 08:22:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Does Run/N command work in Vista?
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01270455
Message ID:
01270455
Vues:
63
Hi,
I have a problem.
The RUN command not work under Vista Os. If I use RUN without "/N" - all works perfect - if I try to use RUN /N4.. or another combinatin - it call an error.
The main problem in RUN without /N.. Each time cmd window appears on screen.

- I can't use WinExec - because current user is not administrator and UserAccountControl block WinExec (function returns 0)
- I can't use CreateProcessWithLogonW because - no users in the system have a rights to install driver, but in Vista - if rightclick and start exe in Admin mode - its allowed. Then Windows User Account control ask about "Proceed with running or not".

Need help :((

Denis
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform