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!

Recommended Answers

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 …

Jump to Post

All 2 Replies

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...".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.