Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launch Unknown Document Types
Message
From
17/12/2002 12:26:12
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00733177
Message ID:
00733745
Views:
35
>>There's also Shell.Application's Open method:
>>
>>
oShell=CREATEOBJ('Shell.Application')
>>oShell.Open(lcMyFile)
>>
>>This will run under Win95 OSR2 v 2.1 or later, Win98, WinME, Win2K and WinXP IAC; it will also run under retail Win95 and WinNT 4.0 as long as at some point has had IE 4 or IE 4.01 with the Active Document extensions installed on it; later versions of IE (IE 5, 5.5 and 6.0) did not upgrade the Shell components on Win95/WinNT when they installed. If you have Win95 or WinNT and do not have Shell.Application, but have a version of I later than 4.01, you'll need to uninstall the current version, install 4.01, and then upgrade back to the most current version of IE, reapplying any SPs or HotFixes which were originally there.
>>
>
>With such cons, why would I want use it over other two methods?

(1) The user won't let you use WSH
(2) The item may redirect to a URL
(3) The item might be a folder
(4) The item's location may require you to parse an address using environment variables
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