I know how to associate my program with a file-format in the registry but I don't know how to open the file in VB6. I think I need to use left(string, lenght as long) in the Sub Main but I have no idea how I should do it. Can somebody help me please???!!!

ThAnX