PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → [WD55] ShellExecute and long access name
[WD55] ShellExecute and long access name
Débuté par Le Support Technique PC SOFT, 28 juin 2001 13:09 - Aucune réponse
Posté le 28 juin 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