PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → [WD55] ShellExecute and long access name
[WD55] ShellExecute and long access name
Started by support, Jun., 28 2001 1:09 PM - No answer
Posted on June, 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