How come when I click on a text document I am asked what program I want to use to open it?

by on January 12, 2009

Q: I am running Windows XP and went to open a text document to type some notes, however it’s not opening. When I right mouse click on the desktop, go to New, and click on Text Document, it puts the icon on the desktop. When I click on the text document icon to open it, a window pops up asking me to choose the program I want to use to open the file with. Apparently somehow a necessary component of text document got deleted (I’m assuming)? How do I fix this and get my text document back? I can’t open save text documents either. Please help. I need this for school!