Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to launching WinExplorer from VFP
Message
 
À
20/10/2000 15:39:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00432175
Message ID:
00432267
Vues:
28
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
Fil
Voir

Click here to load this message in the networking platform