Currently for my application, I am printing the output in a text file. My intention is when the user clicks on the print command button, it should open up Notepad with that particular text file. I tried the shell function, but that only opens up notepad. How do I open that particular text file. I suppose I have to do this with OLE. If anybody can help me out with this, I would really appreciate it.