Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE with Excel - I'm stumped
Message
De
27/06/2003 08:00:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00804575
Message ID:
00804604
Vues:
45
>Cetin
>
>Sorry but with the following code
>
>*Form.init
>this._webBrowser41.Navigate2('file://c:\downloads\mertest.xls')
>
>
>
>oXLS = thisform._webbrowser41.object.document
>
>oExcel = oXLS.Application
>oExcel.ActiveWorkbook.ActiveSheet.Range('E1:E7').Value = 'sheet1'
>oExcel.Application.ActiveWorkbook.Save()
>
>I get the message OXLS is not an object
>
>I have added classes _webview, _base and _ control
>
>What am I missing?
>
>Thanks
>
>Colin

Web view ?
WebBrowser4 control : Tools\Component Gallery\VFP foundation classes\Internet\Web browser control.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform