PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → [WD55] ShellExecute and long access name
[WD55] ShellExecute and long access name
Iniciado por support, jun., 28 2001 1:09 PM - Sem resposta
Publicado em junho, 28 2001 - 1:09 PM
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