List-Box for Files/Directory in Word-VBA 
Author Message
 List-Box for Files/Directory in Word-VBA

Hello!
In Word97-VBA there is no List-Box for Files/Directory.
Only Open-Files, SaveAs and so on.

I am looking for a neutral Box with my own title and so on whre I can
select a directory or a file.
Must I do it by my own or is there already a solution?

Jan



Fri, 20 Dec 2002 03:00:00 GMT  
 List-Box for Files/Directory in Word-VBA
Hi Jan,

There is already a set of free VB ActiveX DLLs which you can use for this
purpose. Go to www.mvps.org/ccrp/ and download the BrowseDialog and
ExtendedFileDialog controls. Follow the instructions for installing and
using them.

If you want the folder list to appear on your main UserForm, instead of in a
separate dialog, you can use the FolderTreeView control (also from CCRP)
instead.

I use the BrowseDialog regularly for selecting a folder, and have found it
to be excellent. I haven't tried the FileDialog or the FolderTreeView, but I
have used other CCRP controls, so I have no hesitation in recommending them.

Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com
Word FAQs at http://www.multilinker.com/wordfaq
Please post any follow-up in the newsgroup. I do not reply to Word questions
by email

Quote:

>Hello!
>In Word97-VBA there is no List-Box for Files/Directory.
>Only Open-Files, SaveAs and so on.

>I am looking for a neutral Box with my own title and so on whre I can
>select a directory or a file.
>Must I do it by my own or is there already a solution?

>Jan



Fri, 20 Dec 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. List-Box for Files/Directory in Word-VBA

2. Selecting files in many directories, use of file list box

3. Help: displaying hidden directories in directory list box

4. Where are File, Drive, and Directory list boxes?

5. Directory list in the list box

6. getting list of directories into list box

7. Read and list mpp files in a dialogue box with VBA

8. Help wanted with file list boxes and list boxes

9. Populating List Box from File Outside of Word

10. Word count differs in VBA from Word dialog box

11. Columns in List box, when inserting text from text box (VBA)

12. Reading file name from text box and/or File List Box

 

 
Powered by phpBB® Forum Software