General information
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only