Ver Mensaje Individual
  #2  
Antiguo 21-08-2006
Avatar de Bicho
[Bicho] Bicho is offline
Miembro Premium
 
Registrado: jul 2003
Ubicación: Inca - Mallorca
Posts: 1.776
Reputación: 22
Bicho Va por buen camino
Hola nuevamente beatriz, no he encontrado un parámetro válido en ShellExecute para crear un fichero, pero te voy a dar una idea:

Código Delphi [-]
if not FileExists(ruta + nombrefichero) then //sino existe lo creamos 
  CreateFile(ruta + nombrefichero); //p.ej. c:\Prueba\Fichero1.doc

ShellExecute('') //abrimos el fichero como ya sabemos

Espero te sirva.

Saludos
Responder Con Cita