Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Automation/Excel problem
Message
From
07/05/1999 16:29:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
OLE Automation/Excel problem
Miscellaneous
Thread ID:
00216239
Message ID:
00216239
Views:
75
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
Map
View

Click here to load this message in the networking platform