Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting registered functions
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00227758
Message ID:
00227776
Views:
19
nd create methods to invoke the various calls for you.

The DECLAREs will occur exactly once, when the object is instantiated from the class; if the object is scoped globally to the app (either added to a common VFP object like _SCREEN via ADDOBJECT(), or created as a PUBLIC variable, then you can simply check if the object exists and create it if it doesn't:
IF ! TYPE('_SCREEN.oMyZipObject')
   SET CLASSLIB TO <i>your zip classlib</i> ADDITIVE
   _SCREEN.AddObject('oMyZipObject',<i>your zip class name</i>)  
ENDIF
If the object exists, you invoke your methods just like any other VFP object; by putting it in _SCREEN, it's always addressible and visible.
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