Visual C++ 6.0 and Notepad

hi,
I have a Visual C++ 6.0 program which automates excel and works with excel files.
Now I need to work with a text file.
I am wondering how I can open a Notepad file as an excel file, using my program.
what i mean is when i do right click on text file i have an option "Open With" where i can select Excel and open text file as excel sheet.
Is it possible to do the same programmatically?

If anyone can help please do

Thanks
Val
Last edited on
Topic archived. No new replies allowed.