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

Вниз

ShellExecute   Найти похожие ветки 

 
Shrek ©   (2002-08-26 21:49) [0]

Как используя ShellExecute при запуске программы передать параметр? Желательно пример.


 
Song ©   (2002-08-26 21:54) [1]

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
);


 
Shrek ©   (2002-08-26 21:54) [2]

Народ простите:
Будет так:
ShellExecute(Handle, "Open", "Project1.exe", "MyParam", nil, SW_SHOWNORMAL);


 
Shrek ©   (2002-08-26 21:56) [3]


> Song © (26.08.02 21:54)

Спасибо тебе огромное!



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

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

Наверх




Память: 0.47 MB
Время: 0.01 c
3-31663
KDS
2002-09-20 12:09
2002.10.10
Синтаксис написания запроса с Like в Access


3-31600
Brestmarket.com
2002-09-18 15:52
2002.10.10
Access violation at address ... rtl60.bpl


7-32034
ValeX
2002-08-01 15:27
2002.10.10
write/read COM port в Win2000 :(


3-31613
Dmitrey
2002-09-19 09:09
2002.10.10
Проблема переноса с ADO2.5 на ADO2.7


4-32062
Степан
2002-08-23 13:33
2002.10.10
Список открытых окон