I have some code for spawning Excel from my VB3 app.
It runs successfully on dozens of PCs, under all flavors of Windows.
I now have a Windows NT 4.0 user for which the code doesn't fully work.
after setting strFullExcelPathAndName = "C:\CIRCLY4\apsdsxl5.xls"
the API call
r = FindExecutable(strFullExcelPathAndName, "C:\", strEXCELPath)
gives strEXCELPath = "C:\RECYCLED\DC1\EXCEL.EXE"
with strFullExcelCommandLine = "C:\RECYCLED\DC1\EXCEL.EXE /p C:\CIRCLY4 C:\CIRCLY4\apsdsxl5.xls"
r = WinExec(strFullExcelCommandLine, 2)
returns r=3 (Invalid path error).
My user can double click on a .xls file from File Explorer and Excel starts OK.