09-22-2008 04:59 AM
Hello,
I am new in using Labwindows and i want to open an existing Word file.
Is it possible without any Word Libraries?
After pushing a Button in the User-Interface, i want to open a Word file.
Sorry for my bad English.
Florian H.
09-22-2008 11:17 AM
you need this function.
OpenDocumentInDefaultViewer ("your filename.doc", VAL_NO_ZOOM);
Include toolbox.fp in your project.
09-22-2008 02:24 PM
Unfortunately the solution proposed by test_man is not working unless you have Word installed on your machine: OpenDocumentInDefaultViewer relies on the viewer (or editor) to be installed on the machine and registered for that particular file type (the same as double clicking a file in Windows Explorer).
An alternative to full Word application, but not usable for editing, is to install the word viewer, which permits you to open and print a document.
09-23-2008 04:12 AM
Hi,
thank you for your answers.
" OpenDocumentInDefaultViewer ("your filename.doc", VAL_NO_ZOOM); "-Function works!
Best regards
Florian H.