Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does Run/N command work in Vista?
Message
From
21/11/2007 08:22:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Does Run/N command work in Vista?
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01270455
Message ID:
01270455
Views:
64
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
Next
Reply
Map
View

Click here to load this message in the networking platform