Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open any folder in Windows Explorer
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01011498
Message ID:
01011648
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform