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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assigning file types with my program

Status
Not open for further replies.

msdawy2

Programmer
Jan 8, 2004
10
EG
Good Morning,
I am trying to make my program take the extension *.ddd
How do i add the code that makes any user, when double clicking a .ddd file, will open my program? How to set its icon to my program too?


Thank you very much in advance...
 
Open the string table and change the IDR_MAINFRAME to something like
IDR_MAINFRAME "Myprog\n\nDDD\nDDD Files (*.ddd)\n.ddd\nMyprog.Document\nDDD Document"
now make a .ddd file and open it using your program.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top