Open a file from within a program
My requirement is..... Let's say I have a document (*.doc) on my hard disk. And I have the path of this file in a field PATH inside a program ( for example PATH = 'C:/test.doc'). Is there a way to open this document inside a program? I mean to say when I execute this program, we should open this document or print this document?
Please throw some light. Thanks