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:
00968286
Views:
7
Yuri

Thanks

Excel needed repairing

Colin

>Try to add something like this:
>
>>With thisform.OleControl1
>> .Navigate2('file://c:\global\bownetest.xls')
>> Do While .ReadyState # 4 or ;
> type(".object.document")#"O" or ;
> isnull(.object.document)
>
>> 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
Reply
Map
View

Click here to load this message in the networking platform