Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiating Windows Explorer with a folder link
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01520169
Message ID:
01520176
Vues:
60
This message has been marked as a message which has helped to the initial question of the thread.
See http://www.berezniker.com/content/pages/visual-foxpro/launching-windows-explorer-specified-drive-folder-or-file

>I have need for a menu option in VFP that will (externally) launch a given folder in Windows Explorer (aka My Computer of File Manager) to allow the users to find a file or files.
>
>Until now I have gone through IE to do this:
>
>oIE = CREATEOBJECT("InternetExplorer.Application")
>oIE.Navigate("\\XXXXXXXXXXXXXX\SHARES\QA\Qdms2000\archive\Level1")
>oIE.VISIBLE = .T.
>
>This works OK on XP - you get a flash of IE before the proper folder opens in Explorer. Unfortunately in Win7 it opens IE and then LEAVES it open before opening the file.
>
>Is there a better way to do this directly?
>
>TIA,
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform