Member Avatar for Geek-Master

Everyone knows what happens when you double click a text file ending with *.txt, it opens Notepad or what ever you customized it to open.

Lets say I created a simple text editor and I have already configured the program to be the default editor in Windows for files ending in *.text. What event looks to see if it has been initialized by a file?

Hi,

You should check wether your application is executed with a command line parameter; which should be the name of the file clicked.

Loren Soth

Be a part of the DaniWeb community

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