Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can anybody teach me ... Please !!!
Message
De
02/05/1999 07:57:48
 
 
À
01/05/1999 22:32:03
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00214266
Message ID:
00214319
Vues:
29
>Hi, Pedro-
>
>What commands exactly did you issue in the command window? My array very definately does NOT come up empty in both 5.0a and 6. In case I didn't cut & paste correctly in my previous message here it is again:
>
>oShellObj = CREATEOBJ('Shell.Application')
>local x(1)
>?amembers(x,oshellobj,1)
>
>
>It's very important to pass 1 as the third parameter to AMEMBERS. HTH
>

Nancy, AFAIK, VFP's AMEMBERS() won't pull out the information on the Shell.Application object - there are no writable properties or collections exposed directly by the object (the only properties exposed are Parent and Application, both read-only, both pointing to another Shell object.) At least I can't get AMEMBERS() to work on Shell.Application - I can run it against the shell objects returned by the two exposed properties, but they always return one entry, Application.

>>Thanks Nancy , but thats no good , its always return an array with a .F. value!
>>
>>(I guess i will have to wait for that zoo to open is doors ;)) )
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