Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

"File - Open" - Window in Access

Posted on 1999-06-25
4
Medium Priority
?
132 Views
Last Modified: 2011-09-20
I want to use the "File - Open"-Window in VBA (Access), but I do not know the source code for showing the window and working with the information from that window (which file, path etc.).

I do not want to open this file but rather let the user pick the file (and path etc.) my program should work with.
0
Comment
Question by:Stapman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:raygibbins
ID: 1519693
Put a CommonDialog control on a form
Name it CommonDialog1


CommonDialog1.Action = 1
MsgBox CommonDialog1.FileName
MsgBox CommonDialog1.FileTitle

0
 

Author Comment

by:Stapman
ID: 1519694
Thanks!!
Please give me an "answer" so that you can receive your points!
0
 
LVL 1

Accepted Solution

by:
raygibbins earned 400 total points
ID: 1519695
Put a CommonDialog control on a form
Name it CommonDialog1


CommonDialog1.Action = 1
MsgBox CommonDialog1.FileName
MsgBox CommonDialog1.FileTitle


0
 

Author Comment

by:Stapman
ID: 1519696
Thanks!!
Please give me an "answer" so that you can receive your points!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question