Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 and Excel
Message
De
04/07/2003 05:04:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00806542
Message ID:
00806893
Vues:
18
>Cetin
>
>Thanks - that moves me forward
>
>Now when I click on the button it brings up the file download dialogue. The control I put on the form was done by adding an activex control from the toolbar) then when the dialogue came up adding a microdoft web browser control. Have I added the wrong control?
>
>Colin
>
>With thisform.OleControl1
> .Navigate2('file://c:\global\mertest.xls')
> Do While .ReadyState # 4 && Wait for ready state
> EndDo
>endwith
>
>oXLS = thisform.OleControl1.object.document
>oExcel = oXLS.Application
>* Test setting column A,B to red
>oExcel.ActiveWorkbook.ActiveSheet.Range('A:B').Interior.ColorIndex = 3
>
>
>Thanks
>
>
>Colin

Colin,
Vaguely I remember it has something to do with registry settings. I'll try to locate the related thread.
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