Uau!!!
An amazing documentation.
Many many thanks!
>Check
http://www.news2news.com/vfp/index.php, it's "the best"!
>
>>Thanks, again!
>>That's perfect.
>>Where can I learn more about Windows API?
>>Something like a list of calls.
>>
>>>Instead of RUN you should use Shellexecute
>>>DECLARE INTEGER ShellExecute IN shell32;
>>>INTEGER hwnd,;
>>>STRING lpOperation,;
>>>STRING lpFile,;
>>>STRING lpParameters,;
>>>STRING lpDirectory,;
>>>INTEGER nShowCmd
>>>
>>>=ShellExecute("YourProgramme.exe")
>>>
>>>>Thanks!
>>>>If I decide for the command NET how can I avoid the
>>>>annoying black DOS command window that popups
>>>>when using command RUN?
>>>>The switch /n in the RUN command solves the problem if
>>>>what you are running is a windows application. Of course
>>>>if it's a DOS based application, like NET, it sends messages
>>>>to the DOS console and that keeps the black window open.
>>>>
>>>>>See thread#
586930 >>>>>
>>>>>>Hi.
>>>>>>I need to manage (start/stop/etc) some windows services in my application.
>>>>>>My questions:
>>>>>>1. How can I programatically access windows services?
>>>>>>2. How can I "say" a service to Start, Stop, Pause, Resume or Restart?
>>>>>>
>>>>>>Thanks in advance.
***
TONY Nascimento
*****************
"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo
"The desire to know is natural to good men" - Leonardo da Vinci