Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / PowerBuilder [игнор отключен] [закрыт для гостей] / PowerBuilder - C# / 2 сообщений из 2, страница 1 из 1
24.06.2008, 17:07
    #35391581
Svetalana Shulman
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
PowerBuilder - C#
Podskajite pojaluista.. esli eto vozmojno vizvat' C# executable file iz PowerBuilder scripta.
...
Рейтинг: 0 / 0
24.06.2008, 17:28
    #35391651
Ikar
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
PowerBuilder - C#
RTFMDescription

Runs the specified application program.

Syntax

Run ( string {, windowstate } )

Argument Description
string A string whose value is the file name of the program you want to execute. Optionally, string can contain one or more parameters for the program.
windowstate (optional) A value of the WindowState enumerated datatype indicating the state in which you want to run the program:· Maximized! — Maximized; enlarge the program window to its maximum size when it starts· Minimized! — Minimized; shrink the program window to an icon when it starts· Normal! — (Default) Run the program window in its normal size
Return value

Integer. Returns 1 if it is successful and -1 if an error occurs. If any argument's value is null, Run returns null.

Usage

You can use Run for any program that you can run from the operating system. If you do not specify parameters, Run opens the application and displays the first application window. If you specify windowstate, the application window is displayed in the specified state.
If you specify parameters, the application determines the meaning of those parameters. A typical use is to identify a data file to be opened when the program is executed. If you are running another PowerBuilder application, that application can call the CommandParm function to retrieve the parameters and process them as it sees fit.

If the file extension is omitted from the file name, PowerBuilder assumes the extension is .EXE. To run a program with another extension (for example, .BAT, .COM, or .PIF), you must specify the extension.

------------
С уважением, IKAR

IkarHomeCenter ........ Детский Дворик ........ ГавГав.Инфо
Портал русскоязычной группы пользователей Sybase
...
Рейтинг: 0 / 0
Форумы / PowerBuilder [игнор отключен] [закрыт для гостей] / PowerBuilder - C# / 2 сообщений из 2, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]