Open File Dialog

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've got a form where I use OpenFile to call the standard Open File dialog
box. It works great. Is there a way to open the actual dialog box inside a
form instead of it opening in it's own window?

Thanks in advance for your help!
 
No way. That's why it's called the "Open File dialog" - it's a modal dialog
box, which always has it's own window.
 
PeterM said:
I've got a form where I use OpenFile to call the standard Open File dialog
box. It works great. Is there a way to open the actual dialog box inside a
form instead of it opening in it's own window?

You might find useful the example at
http://www.mvps.org/access/api/api0001.htm, which calls the standard Windows
Common Dialog from code, if that is not what you are doing. It too, will
open in its own dialog Window.

Larry Linson
Microsoft Access MVP
 
PeterM said:
I've got a form where I use OpenFile to call the standard Open File dialog
box. It works great. Is there a way to open the actual dialog box inside a
form instead of it opening in it's own window?

Thanks in advance for your help!

There might be a way to populate a treeview control dynamically with
file names (and directory nodes) as directories are selected. A command
button 'Open Selected File' could be used to pass the selected filename
to something similar to OpenFile. It sounds like a lot of work but if
you really need something inside a form it may work. Note: this is just
a vapor thought.

James A. Fortune
 

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

Back
Top