Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 and Excel
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
VFP6 and Excel
Divers
Thread ID:
00806542
Message ID:
00806542
Vues:
78
Hi

With a lot of help from Cetin Basov I have managed to get VFp to populate an existing Excel spreadsheet. It works fine on one machine running Win2k prof sp5, VFP6 sp5 Office 2000 but not on others with a similar spec. If I run it on a machine which has Excel 97 instad of Excel 2000 it works fine otherwise I get the message

OLS is not an object.

The code is

this._webBrowser41.Navigate2('file://j:\global\mertest.xls')
oXLS = thisform._webbrowser41.object.document
oExcel = oXLS.Application

Paths are correct. Dcom permissions are OK

Any bright ideas?

Thanks

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform