Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extensions in Borland C++ Builder

Status
Not open for further replies.

s0fianna

Programmer
Aug 27, 2007
1
GR
Hi,

I have three different kinds of files which are created from the program I made. I gave the following extensions for each one of them, .fst, .usr, .dbm. What I want to do is to load the files that are saved from the program, and after selecting the file I want to open, act differently in each one of the types.
For example when the user selects a file that ends with ".usr", open a notepad with users settings, but when the user selects a file which suffix is ".fst", open it with excel.
Any help?

Thanks!
 
Control panel->Folders->Filetypes

Then you register which program to activate by what extention.

Totte
Keep making it perfect and it will end up broken.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top