Information générale
Titre:
OLE Automation/Excel problem
The statement
oleApp = GETOBJECT ("$$TEMP.xls", "Excel.Sheet")
works fine when VFP is installed. But, when I create distribution disks and install my system on computers without the complete VFP this statement crashes with an INVALID PARAMETER error.
Before I get this far in my code, the program checks for the presence of $$TEMP.xls and checks that Excel is present and responding to a GETOBJECT. I have written some VBA code in Word which loads Excel and a spreadsheet. This works just fine on the machine that the above GETOBJECT fails.
My guess is that I am missing some files.
Any thoughts?
Tim
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