Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does Run/N command work in Vista?
Message
 
 
À
21/11/2007 08:22:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01270455
Message ID:
01270463
Vues:
27
Check Craig Boyd's 5 part blogs PE Files, UAC, Reg-Free COM, and Other Crazy Stuff at http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,e7782545-c3cc-4b78-9005-ce769669e78f.aspx

>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".
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform