Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Creating an Instance of Excel
Message
De
19/12/1998 12:04:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
19/12/1998 12:03:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00169119
Message ID:
00169128
Vues:
23
>>I am trying to create an instance of Excel and use to it allow a user to edit a previously saved worksheet. The syntax that I have used is as follows:
>>
>>oExcel = CREATEOBJECT("Excel.Sheet")
>>oExcel.Visible = .T.
>>
>>Excel is started becuase I can see it under task manager, but it is not visible. I have tried things like:
>>
>>oExcel.Draw() and..
>>oExcel.Paint and..
>>oExcel.Show()
>>
>>No matter what I do, Excel remains invisible. Can anyone offer any help/advice?
>Steve,
>For just this part either do it :
>
>oExcel = CREATEOBJECT("Excel.Sheet")
>oExcel.Application.Visible = .T.
>
>Or :
>oExcel = CREATEOBJECT("Excel.Application")
>oExcel.Application.Visible = .T.
oExcel.Visible = .T.
>
>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
Répondre
Fil
Voir

Click here to load this message in the networking platform