Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open any folder in Windows Explorer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Novell 4.x
Database:
Visual FoxPro
Divers
Thread ID:
01011498
Message ID:
01011648
Vues:
17
>Take a look at Re: Open My Computer Thread #834144 Message #834358
>
>>
>>I want to display the contents of folder given in variable vfolder1
>>vfolder1 = alltrim(Thisform.text4.value) && d:\system\gin0405
>>
>>When I run the following command
>>
>>RUN/n "explorer.exe" vfolder1
>>
>>it alwasy shows the contents of C:\
>>
>>How to open the folder d:\system\gin0405 as from variable
>>
>>Please help

The following code should also work:


oShell = CREATEOBJECT("shell.application")
oShell.Explore(vfolder1)


-Lou.
"All my life I said I wanted to be someone ...
I can see now that I should have been more specific." -Jane Wagner
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform