I asked it already yesterday but it won't work so I ask it again:

I want to associate my program with a specific file format. When someone clicks the file I would like to have my program opened and the file loaded. So I need to know the filename of the clicked file to load it with my program. Can somebody help me please by sending a clear explanation or an example project??

Thanx