[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 141
  • Last Modified:

extensions

A program I am modifying has a certain file extensions specified for me when I want to open files. I do not wish these files but others with others extensions, but I have no option. where can I go in the program to change the preset extensioons so I can view the files I want. Also how do I change extensions of a file?
0
jonlaukt
Asked:
jonlaukt
  • 2
  • 2
1 Solution
 
dotanCommented:
I don't realy understand your problem but if all you want to do is to change the file extantion you can use the rename function.
0
 
rwilson032697Commented:
You can change the extension types by editing the Filter property of the TOpenDialog.

Use ChangeFileExt to change the extension of a filename.

Cheers,
Raymond.
0
 
jonlauktAuthor Commented:
I am still a beginner and cannot find the topendialog box to find filter, can u guide me step by step
0
 
rwilson032697Commented:
On the form where the open dialog is accessed from, there should b a component that looks like a yellow open folder - thats a TOpenDialog component. Click on it, then go to the object inspector - there sill be a property called filter. Click on the property value and a button with '...' will appear - click on it. You should then have a little property editor which allows you to change the filters that are available...

Cheers,

Raymond.
0
 
jonlauktAuthor Commented:
got it good
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now