Hey Robin, i try to use english, so …
Thank you for your answer, i did not really think that a specialist would answer.
Because I was in emergency, i did a special script from ps2pdf.bat, in which my program replaces the first parameter whith the name of the ps file i want to deal with.
It solved my problem, but …
An other thing is that the problem appears as well with other similar tools.
I try to give a better description :
The excel file C:\Mes Sites\StatCap\STATINVEST_WEB\Fichiers\20170829163440154\Suivi Obaïbi Evreux - 28-08-2017.xlsx exists.
When i open it with Excel and Print the doc to the default printer (wich is PdfCreator), it works fine, according the active profile : a true pdf file is created.
Now via OLE : issue.
My program operates via OLE.
It creates the xlsx file (the one above), do the job to fill it it, close it, open it again, send print to default printer. An other process gets pdf files and send them.
The issue is that these are not pdf files, but ps files.
I shall try to set debug mode and tell you more, but not now.