Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How i set OpenDialog component just to open *.MDB files?

Posted on 2004-08-11
5
Medium Priority
?
234 Views
Last Modified: 2010-04-05
Hi folks,

I´d like that, when i call my 'FileName' property of my 'OpenDialog1' component, just *.MDB files appears in the dialog (not all kind of files).

Do you know how i do that?

Thx. very much!
0
Comment
Question by:MinimeBoy
[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
  • 3
5 Comments
 
LVL 7

Accepted Solution

by:
LRHGuy earned 75 total points
ID: 11780471
Set the Filter property to:  *.MDB

If you click on the ellipsis in the object inspector, a property editor will open up, you can fill in the name, then the filter as *.mdb

Tada!
0
 
LVL 7

Expert Comment

by:LRHGuy
ID: 11780475
Or, you can do it manually, say in a FormCreate method:

OpenDialog1.Filter:='MDB Files|*.mdb';

Enjoy!
0
 

Author Comment

by:MinimeBoy
ID: 11780668
Thank you very much.
0
 
LVL 7

Expert Comment

by:LRHGuy
ID: 11782704
Hi!

Was there something wrong with my answer, that you felt it only deserved a "C"? I thought it was quick and accurate, and addressed the problem directly.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

636 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