Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.09.04;
Скачать: CL | DM;

Вниз

Запуск приложения   Найти похожие ветки 

 
Pasha L   (2005-08-05 19:28) [0]

Подскажите, как из моего приложения запустить другое


 
Adder ©   (2005-08-05 19:31) [1]

CreateProcess
ShellExecute (uses ShellApi)

Пример:
ShellExecute(Application.Handle,"open","winrar.exe","e -pWQUY -TADR  info.exe",0,sw_ShowNormal);


 
Adder ©   (2005-08-05 19:34) [2]

HINSTANCE ShellExecute(

   HWND hwnd, // handle to parent window
   LPCTSTR lpOperation, // pointer to string that specifies operation to perform
   LPCTSTR lpFile, // pointer to filename or folder name string
   LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters
   LPCTSTR lpDirectory, // pointer to string that specifies default directory
   INT nShowCmd  // whether file is shown when opened
  );


 
Pasha L   (2005-08-05 19:47) [3]

спасибо спасибо. Я в хелпе уже прочитаю. Большое спасибо


 
Fay ©   (2005-08-05 19:55) [4]

Осталось только ждать вопроса "Как отследит завершение выполнения WinRar"
8)


 
Piter ©   (2005-08-05 20:19) [5]

Удалено модератором



Страницы: 1 вся ветка

Текущий архив: 2005.09.04;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.03 c
3-1122323223
Vir
2005-07-26 00:27
2005.09.04
Недопустимая закладка


3-1122306554
redlord
2005-07-25 19:49
2005.09.04
dbgrid + sqldataset


14-1123756444
АМБ
2005-08-11 14:34
2005.09.04
Автоматическое раскрытие пунктов подменю


1-1124071417
Uin
2005-08-15 06:03
2005.09.04
GIF в Image


2-1105004871
syte_ser78
2005-01-06 12:47
2005.09.04
Обработка ошибок