Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OXLS is not an object
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00967773
Message ID:
00967800
Views:
14
>Could you show the code?
>
>>Hi
>>
>>Have been successfully using Excel automation for months - now when I run the application I get an error oxls is not an object - could Excel have been corrupted?
>>
>>Thanks
>>
>>Colin

With thisform.OleControl1
.Navigate2('file://c:\global\bownetest.xls')
Do While .ReadyState # 4 && Wait for ready state
EndDo
endwith

oXLS = thisform.OleControl1.object.document
oExcel = oXLS.Application

Thanks

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform