Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have been trying to apply a .txt file extension to my application .since I'm a new to this i had to choose the GUI way so i have already added in my project in File System and Even i have added my extension in File Types as extension .txt and my own icon . even build was successful. now the problem is when i double click to any text file it won load in my application .it just goes blank .but it did open text file via open file which i made in my application . so the question is what did i miss here , how do i open text file just double clicking it ?


thank you in advance
Posted

Custom file extension control[^]

You should not use the txt extension since it is already registered and commonly used for text files by many applications. Users expect a text file to open in an application such as notepad, not in some other app.
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900