Information générale
Catégorie:
COM/DCOM et OLE Automation
Hi Sergey,
Firstly, my apologizes for the subject. It also works in VFP5. What happened was I have a digit wrong in one of the file names. But in the debugg, each time you call the method oPDF.setInFile(.....) a new property call setInfile appears. The value of the property is "" so I though it didn't keep the parameters. I started searching a solution in the way the object expect the parameters cos I thought was really what happened.
It's also true that the same code that works once if you run again sometimes return -2. But now in all my test if I deleted the outfile and release and create the object it works.
Thanks a million and sorry about that. I'll leave the computing and become sheperd....what a mistake!!!
Regards
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement