Open up PDF or .docx file through DeltaV Interface

I am trying to put in a "hot button" to display a chart thats in MS Word or PDF format. Is there a way to access this file from my Windows7 Documents folder(or anywhere else for that matter)?

3 Replies

  • I use the FrsRunTask function from a button to load the calculator, you might be able to use it for opening a doc file by executing the winword.exe and the document name.
     
    You would need to build a command string like this:
    ("C:\Program Files\Microsoft Office\Office14\Winword.exe" c:\filename1.doc)
     
    From: Dalco [mailto:bounce-Dalco@community.emerson.com]
    Sent: Saturday, February 01, 2014 5:12 PM
    To: DeltaV@community.emerson.com
    Subject: [EE365 DeltaV Track] Open up PDF or .docx file through DeltaV Interface
     

    I am trying to put in a "hot button" to display a chart thats in MS Word or PDF format. Is there a way to access this file from my Windows7 Documents folder(or anywhere else for that matter)?

  • Consider when launching non deltav applications that you don't introduce a security risk; if you launch word, you risk giving access to the vba environment where a user can script system attacks. 

    Fully assess the application, and try to use those presenting the smallest attack surface.  For instance, internet explorer offers a kiosk mode which severely limits access for use in public terminals. I would imagine word has something similar. 

     

    Youssef El-Bahtimy | Systems Integration Technologist
    PROCONEX | 103 Enterprise Drive | Royersford, PA 19468 USA
    Proconex Office: 610 495 2970 | Cell: 267 275 7513
    Youssef.El-Bahtimy@ProconexDirect.com


  • Dalco said:

    I am trying to put in a "hot button" to display a chart thats in MS Word or PDF format. Is there a way to access this file from my Windows7 Documents folder(or anywhere else for that matter)?

    Here is a feasible way to get access to Win7 document folder. there are several locations which have been moved from their previous location in Windows XP when using Windows Vista or Windows 7. As you have noted, there are still hidden folders in the Windows XP locations which cannot be opened, this is because these hidden folders utilize a technology built into NTFS, the file system used by modern versions of Windows, called Junction Points which allows a folder to be a point which is redirected to another folder. For example, if an application attempts to write data to C:/Documents and Settings/$username$/Application Data, the data will automatically be directed to C:/Users/$username$/AppData. This helps older applications to maintain compatibility with new versions of Windows without modifying the applications themselves.