Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Common Dialog

Status
Not open for further replies.

legs00

Programmer
Oct 17, 2001
36
CA
I have an application on access and I am using VBA to code. The Application uses a Common Dialog but without installing the whole Visual Studio Package the Common Dialog does not work. I would like to know if there is a way to use the common dialog control without installing the visual studio.
 
Well I don't know which CommonDialog you're trying to display, but assuming it's the "open" dialog box, this should work:

OpenFile = Application.GetOpenFilename(FileFilter, FilterIndex, Title, ButtonText, MultiSelect)

Pascal

 
comdlg32.ocx should come standard with the Office suite. Have you added it to your toolbox?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top