Kbase 18824: ACTIVEX - How To Invoke Windows Explorer On A Given Folder
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  07/03/2011 |
|
Status: Unverified
GOAL:
ACTIVEX - How To Invoke Windows Explorer On A Given Folder
GOAL:
How to use ActiveX Automation to invoke the Windows Explorer on a given folder (directory).
FACT(s) (Environment):
Windows 32 Intel
Windows NT 32 Intel/Windows 2000
Progress 9.x
OpenEdge 10.x
FIX:
DEFINE VARIABLE oServer AS COM-HANDLE NO-UNDO.
CREATE 'Shell.Application' oServer.
/* Invoke the Windows Explorer on the C:\WINNT folder */
NO-RETURN-VALUE oServer:Explore('C:\WINNT').
/* Release the object references */
RELEASE OBJECT oServer.