Katrix36 0 Newbie Poster

Hey everyone

I'm just making an advanced version of notepad.

When you come accross a file that you haven't got a program assigned to that particular file extension, you can right click on the file, go to open with, and then choose a program to open the file. e.g. notepad.

Is there any code that I coiuld use that would make my version of notpad open up any file that you right click on, go down to open with and select my version of notpad just microsofts version of notpad does?

I'm using a RichEdit as my main text window if that helps. I've managed to get my program to open up files that I drop onto the RichEdit box.

Katrix36