I made program to view 'log' files. But I don't know how to open it in my program by double-clicking it in Windows(98)

Can someone please help me??
(The one that will help me will get free football game that I made