Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can anybody teach me ... Please !!!
Message
From
02/05/1999 07:57:48
 
 
To
01/05/1999 22:32:03
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00214266
Message ID:
00214319
Views:
30
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform