Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Let User Browse for Specific File

Let User Browse for Specific File

Let User Browse for Specific File

Ok, I'm trying to allow the user to browse their computer for a file ending in a specific file extention (in this case .mdf). The problem is, I don't know how. I can get the dialog box to pop up that allows them to browse for folders, but I don't know how to do this for files.

RE: Let User Browse for Specific File

Document Type: WSE
item: Global
  Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  Japanese Font Name=MS Gothic
  Japanese Font Size=9
  Progress Bar DLL=%_WISE_%\Progress\WIZ%_EXE_OS_TYPE_%.DLL
  Start Gradient=0 0 255
  End Gradient=0 0 0
  Windows Flags=00000100000000010011110000000110
  Message Font=MS Sans Serif
  Font Size=8
  Pages Modified=00100000001000100000000000000000
  Disk Label=Default
  Disk Filename=SETUP
  Patch Flags=0000000000000001
  Patch Threshold=85
  Patch Memory=4000
  MIF PDF Version=1.0
  MIF SMS Version=2.0
  FTP Cluster Size=20
  Dialogs Version=7
  Crystal Format=10111100101100000010001001001001
  Step View=&Properties
  Variable Name1=_SYS_
  Variable Default1=C:\WINNT\System32
  Variable Flags1=00001000
  Variable Name2=_WIN_
  Variable Default2=C:\WINNT
  Variable Flags2=00001000
  Variable Name3=_WISE_
  Variable Default3=C:\Program Files\Wise Installation System
  Variable Flags3=00001000
item: Search for File
  Pathname List=*.mdb
item: Custom Dialog Set
  item: Dialog
    Font Name=Helv
    Font Size=8
    item: Push Button
      Rectangle=5 175 40 190
      Enabled Color=00000000000000001111111111111111
      Create Flags=01010000000000010000000000000000
    item: Listbox
      Rectangle=5 5 154 166
      Enabled Color=00000000000000001111111111111111
      Create Flags=01010000100000010000000101000001
item: Display Message
  Title=You picked this file

RE: Let User Browse for Specific File

Use the standard action, "Prompt for Filename" and mention the fileextension that needs to be displayed. It will solve your purpose.


Saurabh Kumar, HP GDIC, Bangalore

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close