Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OXLS is not an object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
00967773
Message ID:
00967800
Vues:
7
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform