Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to launching WinExplorer from VFP
Message
 
To
20/10/2000 15:39:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00432175
Message ID:
00432267
Views:
27
Does error trapping the CREATEOBJECT command suppress the "class not reg" msg or is it unavoidable if not registered?



>>>>How do you programmatically launch Windows Explorer from within VFP?
>>>
>>>You can use the Shell object:
>>>
>>>oShell = CREATEOBJECT("Shell.Application")
>>>oShell.Explore("c:\")
>>
>>I hate to show my ignorance but what lib/dll/ocx is that part of? I tried it and got a "class not registered" error.
>
>Sorry, I should have included this in my first reply:
>
>Use of the Shell object requires the presence of Shell32.dll v4.71 or later. This dll is usually associated with IE 4.0 or later on Win95 machines, or (I think) SP3 for WinNT. All Win2K and Win98 machines have it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform