Suppose I save a file as *.tar (this extension is my own making) using avb6program. Nowwhen the user clicks this file, the window asks 'with what program to open this file' and he/she selects the exe of my program. Now I want to pass the name of file clicked to my program. Like when we click *.xls file, the exe of Excel program knows which file has been opened or clicked. Is there a way? Please help.