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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only