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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement