Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to launching WinExplorer from VFP
Message
From
20/10/2000 16:21:22
 
 
To
20/10/2000 15:39:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00432175
Message ID:
00432299
Views:
26
>>>>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.

Interestink. We run NT here but it must not be the latest service pack. Unless the network wheezers removed that DLL.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform