We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,644 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Custom File Type

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!

Attachments Robot_Talk.zip (1001.48KB)
3
Contributors
2
Replies
2 Hours
Discussion Span
6 Months Ago
Last Updated
5
Views
Programmer629
Light Poster
35 posts since Nov 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

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.

tinstaafl
Nearly a Posting Virtuoso
1,484 posts since Jun 2010
Reputation Points: 429
Solved Threads: 261
Skill Endorsements: 14

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

Reverend Jim
Illigitimae non carborundum
Moderator
3,750 posts since Aug 2010
Reputation Points: 585
Solved Threads: 470
Skill Endorsements: 33

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page generated in 0.0595 seconds using 2.69MB