For a certain application I've got to make a form with a product overview. The form shows product number, description, price etc.
However, in some cases a product als has a technical document. I need to view this document when it's present but it needs to be showed within the application, this means within the form!
These documents can be of many different types: word, pdf, excel, txt, ppt, jpg, bmp (and maybe even other types in the future).
My question now is how can I implement a procedure that's able to launch all the different types of documents and show them in a specific part of my existing form. What I in fact need is to integrate the program that opens the document in my existing application, very much alike opening these document types in a web browser.
Is there a way to let the operating system open a given file type with its default launching program and then integrate this program in the form?
Or should I think differently and maybe something else will be a better solution?
Thanks in advance!!
However, in some cases a product als has a technical document. I need to view this document when it's present but it needs to be showed within the application, this means within the form!
These documents can be of many different types: word, pdf, excel, txt, ppt, jpg, bmp (and maybe even other types in the future).
My question now is how can I implement a procedure that's able to launch all the different types of documents and show them in a specific part of my existing form. What I in fact need is to integrate the program that opens the document in my existing application, very much alike opening these document types in a web browser.
Is there a way to let the operating system open a given file type with its default launching program and then integrate this program in the form?
Or should I think differently and maybe something else will be a better solution?
Thanks in advance!!