Start New Discussion within our Software Development Community

Hi! I want to know how to make my own file type. I allready have a program that i made but i want to create a file type that only this program can read. i want to name the file extension ".rttf", which stands for "Robot Talk Text File." ill attach the latest version of my program source code. thx!

Writing the file with your own extension is the easy part, just use the extension in the filename.. Associating the file with your program is a little more difficult, this link is pretty good at explaining what's involved.

The easiest way to associate the file with your application is to right click the file and select "Open with" and "Choose default program". Then browse to your exe file and check "always use the selected program...".

This article has been dead for over six months. Start a new discussion instead.