FolderDialog problem

V

vbaNOOB

Hi all,

I'm using FolderDialog funciton in my vba
It'll pop up a very nice explorer and let u choose the folder that u want,
then return the file path.

The thing is, it work in my computer, however, when my friends test it on
his comp
The explorer is ok, but it cant show sub folder??

for exmple: C:\testFolder\insideTest
In the explorer, it can only show "testFolder", but cant show the subFolder
"insideTest"

This is the code I'm using:
mainPath = FolderDialog.GetDirectory("Please Choose Directory")

any hint??

Many Thanks
 
C

Cindy M.

Hi =?Utf-8?B?dmJhTk9PQg==?=,

Are both of you using the same version of Word/Office? Which version(s)?
I'm using FolderDialog funciton in my vba
It'll pop up a very nice explorer and let u choose the folder that u want,
then return the file path.

The thing is, it work in my computer, however, when my friends test it on
his comp
The explorer is ok, but it cant show sub folder??

for exmple: C:\testFolder\insideTest
In the explorer, it can only show "testFolder", but cant show the subFolder
"insideTest"

This is the code I'm using:
mainPath = FolderDialog.GetDirectory("Please Choose Directory")

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top