Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel - WindowState Property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00397885
Message ID:
00397963
Vues:
13
>if i have the folow code
>
>tmpsheet = GetObject('','excel.sheet')
>XLApp = tmpsheet.application
>XLApp.Visible = .t.
>
>i have a excel application with a empty workbook...
>
>it's possible to apply the windowsatate property to make the application minimized?
>
>xlapp.application.windowstate = 1 ====> not function!
>
>can anyone help me?
>

oExcelApp = GetObject(,'excel.application')
oExcelApp.WindowState = 1
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform