Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 and Excel
Message
From
04/07/2003 05:04:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00806542
Message ID:
00806893
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform