Open a Document in its Default Application Using LabVIEW

Updated May 17, 2023

Reported In


  • LabVIEW

Issue Details

I would like my LabVIEW VI to open a document on my hard drive using its default application. How can this be done?


There is a VI called Open a Document on that will open any document (Word, Excel, HTML, etc.) in the default application registered for the operating system.  The VI is not on the palette however, it is located at<LabVIEW>\vi.lib\Platform\browser.llb\Open a Document on 

This VI will only open the documents in their default application. For more advanced control of these documents, it is recommended to use the LabVIEW Report Generation Toolkit for Microsoft Office or ActiveX. 

Note: Use of VIs that are not on the palette may cause problems when upgrading to newer versions of LabVIEW.  VIs may be removed, renamed, or relocated without warning.  To avoid problems, it is recommended to copy the VI to a different directory outside of vi.lib and use that copy in your work.