PowerPoint

Delphi

24/03/2004

Qual a linha de comando que devo usar p/ executar um arquivo em PowerPoint ao clicar um determinado botão??...


Dbluka

Dbluka

Curtidas 0

Respostas

Jack Stone

Jack Stone

24/03/2004

Eu uso esta:

ShellExecute(0, PChar(´open´), PChar(´C:\suapasta\seuarquivo.pps´),
Nil, Nil, SW_SHOWNORMAL);


GOSTEI 0
Dbluka

Dbluka

24/03/2004

Olá...

Coloquei a linha de comando da seguinte maneira:
begin
ShellExecute(0, PChar(´open´), PChar(´C:\TESTE\RELGEST2003.pps´),
Nil, Nil, SW_SHOWNORMAL);
end;

Ao mandar compilar aparece a seguinte msg:
[Error] Unit1.pas(28): Undeclared identifier: ´ShellExecute´

Começei a programar a pouquíssimo tempo, por isso perdoe-me os erros gritantes, OK?!

Obrigada...


GOSTEI 0
Sremulador

Sremulador

24/03/2004

Ulitilze a unit [b:f0e9e2b529]ShellApi[/b:f0e9e2b529]


GOSTEI 0
Dbluka

Dbluka

24/03/2004

Como devo usar esse ShellApi? Poderias detalhar?

Obrigada...


GOSTEI 0
POSTAR