PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD55] ShellExecute and long access name
[WD55] ShellExecute and long access name
Iniciado por support, 28,jun. 2001 13:09 - No hay respuesta
Publicado el 28,junio 2001 - 13:09
This message concerns the use of ShellExecute() with an Excel document.

ShellExecute("c:\my documents\file.xls") may generate error messages if
Excel is not already open.

In this case, the problem may be caused by a long access name to the
document.
We advise you to use the short document path.

The correct syntax is:

ShellExecute(fShortPath("c:\my documents\file.xls"))

PC SOFT Hot Line