Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

How can Delphi run * .exe with .... Find similar branches


Romualds Stashans   (2001-12-18 11:07) [0]

How can you run * .exe (specifically PowerPoint presentation viewer) through Delphi, so that the necessary PowerPoint file is loaded into the viewer?



gek   (2001-12-18 11:17) [1]

Well, sort of
winexec (pchar ("c: \ word file_name"), sw_shownormal)



Digitman   (2001-12-18 11:23) [2]

PP can be loaded as an OLE server (with all the ensuing features)



Dmitriy(new)   (2001-12-18 11:39) [3]

function CreateProcessSimple (sExecFilePath: string; AWait: Boolean; AMax: Boolean): string;
var si: TStartupInfo; pi: TProcessInformation;
begin
FillMemory (@si, sizeof (si), 0); si.cb: = sizeof (si);
IF Amax Then Begin si.dwFlags: = STARTF_USESHOWWINDOW; si.wShowWindow: = SW_SHOWMAXIMIZED; End;
if not CreateProcess (Nil, PChar (sExecFilePath), Nil, Nil, False,
NORMAL_PRIORITY_CLASS, Nil, Nil, si, pi) then
Application.MessageBox (Pchar ("Failed to execute program:" + sExecFilePath), "Error", IDOK);
result: = inttostr (PI.hProcess); CloseHandle (pi.hThread);
Application.ProcessMessages;
if AWait then WaitForSingleObject (pi.hProcess, INFINITE);
CloseHandle (pi.hProcess);
end;



Anatoly Podgoretsky   (2001-12-18 12:33) [4]

ShellExecute (Handle, "open", "PPT_FILE.ppt", nil, nil, sw_shownormal)



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top





Memory: 0.55 MB
Time: 0.023 c
4:22465
AKV
2001-11-02 10:44
2002.01.08
how to determine the window handle over which the mouse is located


1:22176
Serg5
2001-12-20 14:57
2002.01.08
Again, the problem with the text: I display Image1.Canvas.TextOut, but under the text itself is a white runner. Is it possible if you do not remove (just put the letters), then at least make the runner black.


1:22205
Denis Proshkin
2001-12-15 12:46
2002.01.08
QReport - a lot of data


4:22489
Skiv
2001-11-05 09:55
2002.01.08
Display version * .exe


1:22254
ease
2001-12-17 13:32
2002.01.08
Archiving data





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish