Open external document (.pdf or .doc) in default viewer?

Hello,
How do I open a document (.pdf or .doc) in the default viewer for that program type?
Thanks.

This works if you can put up with a command prompt (minimised)...
Use the System Exec.vi from Connectivity->Libraries & Execuables. Use 'cmd /c "<path to file>"' as the command line. (It should run with 'start' but for some reason LabVIEW throws a memory error if you try that!?!?!)
Unfortunately this kicks off a command prompt window which i'm not sure how to hide (but can minimise it with the run mimimised input), but at least it also kicks off Acrobat (or whatever) to launch your pdf file.

Similar Messages

  • Hello! I just want to know how to open a document (.pdf or .doc).

    I have looked at Labview\vi.lib\platform\browser.llb\Open a Document on Disk.vi but the vi has many subvi's. It works well but when I  build a new application I always get errors when I try to open the document. Thank you.

    Altenbach....  we're gonna start calling you "Hawkeye" 
    There was not much info on the other post other than tst's reply..  I'll check it out..
    Thanks buddy!
    RayR
    EDIT PORTION:
    Humm...  the titles were similar....  "Hello! I just want to know how to open a document (.pdf or .doc) after the press of a control button. Thank you."
    But you're right.. nothing mentioned about a build..  >> SORRY: Not Duplicate Post <<
    Message Edited by JoeLabView on 09-21-2007 11:38 AM

  • Upgraded to adobe reader XI now cant view/open online documents pdfs etc.

    upgraded to adobe reader XI now cant view/open online documents pdfs etc. even when i save them they wont open after downloading. can save them to documents and open them from document file.

    Similar problem; but how can I resume opening pdf’s in IE while maintaining the protection benefits of Protected Mode by keeping it enabled (I have not tried disabling it)?
    Need help resolving newly discovered problem wherein all of sudden I can no longer open and display pdf files within IE and but end up with a blank screen [shows blue loading gauge 55.8kb/55.8kb for example doc] unless I down load the pdf file and then open it using Reader XI ver 11.0.2 [Plug-Ins 11.0.01.36] which opens the files just fine. Eventual Error Msg = “There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try attain (103:103)”. Reader Protected Mode: Reader cannot open in Protected Mode due to an incompatibility with you sys config. Etc. “Do not open with Protected Mode disabled” is selected.
    IE = ver 8.0.6001.18702) on Windows XP = ver 5.1 SP3.
    Reader XI ver 11.0.2 [Plug-Ins 11.0.01.36]
    Reader XI, Check for Updates shows: No Updates Available
    Example of failing doc = http://www.us-cert.gov/reading_room/emailscams_0905.pdf

  • HT1338 My mac is becoming too slow. It takes long to open word documents, pdf files or excel documents or even safari. Can anybody suggest something? I have tried to reduce the number of open applications, but does not seem to work.

    My mac is becoming too slow. It takes long to open word documents, pdf files or excel documents or even safari. Can anybody suggest something? I have tried to reduce the number of open applications, but does not seem to work.

    Hi ...
    Checked to see how much free space there is on the startup disk lately?
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    Freeing Up Hard Disk Space - Mac GuidesFreeing Up Hard Disk Space - Mac Guides
    If disk space is not the issue, booting in Safe Mode deletes system caches that may help.
    A Safe Mode boot takes longer then a normal boot so be patient.
    Once you see the Desktop, click the Apple menu icon top left corner of the screen.
    From the drop down menu click Restart.
    See if that makes a difference ...

  • I can no longer open excel documents in my doc to go app. Error message simple reads can not open attachment. And the attachment is now a winmail.dat

    I can no longer open excel documents in my doc to go app. Error message simple reads can not open attachment. And the attachment is now a winmail.dat

    winmail.dat files usually mean the email has been sent in rich text format - you could either the person who sent it to send it in a different format e.g. plain text or HTML, or there are a few apps in the store that support it (search for winmail.date in the store).
    winmail.dat files : http://support.apple.com/kb/TS1506

  • After upgrading to ios6 my iphone will not open .xls files in emails with the default viewer. Is there a fix for this? The same emailed .xls files still open on my ipad using ios5 while viewing email like they did on my iphone prior to upgrading.

    After upgrading to ios6 my iphone will not open .xls files in emails with the default viewer. Is there a fix for this? The same emailed .xls files still open on my ipad using ios5 while viewing email like they did on my iphone prior to upgrading. I have no special software like numbers or anything else installed on either device. Just using the default viewer provided by apple for viewing email.

    The attachment is an .xls excel 97-2003 spreadsheet. I viewed the file in the email and did not edit it with any software. I can forward the file to anyone that is may want to check it out to see if they can help me. I was wondering if there was some way of forcing another ios6 install on my phone and maybe that would solve it.
    Is there anyone out there that is viewing .xls files in email using ios6 w/o any other software installed like numbers or any other add ons? I am not upgrading my ipad from ios5 to ios6 so I can still continue to view the emails on my ipad. Is there an email viewer .xls plug-in that will be availablle in the next ios6 update?

  • External document using XQuery doc() function - SEGV

    The following code involving an XQuery using the doc() function to access an external document via the filesystem produces a segmentation fault on Windows XP 32 using Java 1.6.11 and BDB XML 2.4.16 + P1.
    The input doc is just "<Urmel>Huhuhu</Urmel>".
    Maybe some basic error of mine. How am I supposed to access external documents via XQuery's doc() function?
    Michael Ludwig
    # Problematic frame:
    # C  [libdbxml24d.dll+0x86401]
    # The crash happened outside the Java Virtual Machine in native code.
    package milu;
    import java.io.File;
    import com.sleepycat.db.Environment;
    import com.sleepycat.db.EnvironmentConfig;
    import com.sleepycat.dbxml.XmlException;
    import com.sleepycat.dbxml.XmlManager;
    import com.sleepycat.dbxml.XmlManagerConfig;
    import com.sleepycat.dbxml.XmlQueryContext;
    import com.sleepycat.dbxml.XmlResults;
    import com.sleepycat.dbxml.XmlTransaction;
    import com.sleepycat.dbxml.XmlValue;
    public class TestExternalAccess2 {
         static final String envDirStr = "C:/MILU/data/dbenv46";
         static final File envDir = new File(envDirStr);
         static EnvironmentConfig envConf;
         static {
              envConf = new EnvironmentConfig();
              envConf.setAllowCreate(true);
              envConf.setRunRecovery(true);
              envConf.setInitializeCache(true);
              envConf.setInitializeLocking(true);
              envConf.setInitializeLogging(true);
              envConf.setTransactional(true);
         public static void main(String[] args) throws Exception {
              Environment env = new Environment(envDir, envConf);
              XmlManagerConfig mgrConf = new XmlManagerConfig();
              mgrConf.setAllowExternalAccess(true);
              XmlManager mgr = new XmlManager(env, mgrConf);
              String qry = "doc('file:C:/milu/dev/u.xml')";
              XmlQueryContext qc = mgr.createQueryContext();
              XmlTransaction txn = mgr.createTransaction();
              XmlResults res = mgr.query(txn, qry, qc);
              while (res.hasNext()) {
                   XmlValue val = res.next();
                   StringBuffer sb = new StringBuffer();
                   sb.append(val.getClass());
                   sb.append(" - ");
                   sb.append(val.asString());
                   System.out.println(sb.toString());
              res.delete();
              txn.commit();
    }

    I did a diff of my dbxml-2.4.16 and a clean version of dbxml-2.4.16 and found this difference, which looks like a fix for your bug. Please tell me if this works.
    Lauren Foutz
    --- dbxml-2.4.16-orig/dbxml/src/java/dbxml_java_wrap.cpp     2008-10-21 18:28:16.000000000 -0400
    +++ dbxml-2.4.16/dbxml/src/java/dbxml_java_wrap.cpp     2009-02-27 15:24:32.000000000 -0500
    @@ -1309,8 +1309,12 @@
                       break;
                  default:
    -                   if(docid != 0)
    -                        (*cdoc).setAsNotMaterialized();
    +                   if(docid != 0 && cid != 0)
    +                         (*cdoc).setAsNotMaterialized();
    +                    else if(!(*cdoc).getDbMinder().isNull() && cid == 0) {  //set query constructed documents as DOM
    +                         (*cdoc).getDocDb();
    +                         (*cdoc).setContentAsNsDom(docid, (*cdoc).getCacheDatabase());
    +                    }
                  createCPPMetaData(jenv, jdoc, cdoc);Edited by: LaurenFoutz on Apr 16, 2009 6:48 AM

  • How to link to and open external document with Mac Dreamweaver

    I'm evaluating Dreamweaver on the Mac. I know how to link to
    an external document, such as a Word or Excel document. However, I
    would like for the file to automatically open when the link is
    clicked, rather than taking me to a directory window (where I then
    have to double-click the file icon). Another option would be to
    easily import data from a Word or Excel document, but the Help
    indicates that's only possible when using Dreamweaver on Windows.
    Thanks for any guidance you can provide.

    What you need to do is this:
    1.) back up all your data from your iPod
    2.) reformat it on the Windows machine.
    You'll then be able to use your iPod on both Windows and Mac:) If you need more help, let me know!

  • Opening of documents from Recent Doc/ dragdrop operation???

    Hi,
    I m using InDesign CS3 on MAC OS. I have 2 questions:
    1. I do not want my user to open files by dragging and dropping them into the app..How do i stop this drag drop action...I have no idea about this..I ve already disabled the open menu item..Pls help..
    2. How do i avoid a file from recovering automatically when the InDesign application is reopened after a force quit...
    Someone Pls guide me in doing these....
    Thank You.

    Someone Pls help...
    I have a new menu added to open specific documents alone...
    I ve disabled open menu item and now i do not want users to open any other document by:
    -> right clicking them and giving OpenWith
    -> dragging and dropping them into InDesign
    How to avoid these? Is it possible.... If yes,pls help...
    I m using ID CS3 on Mac OS X...
    Pls guide me...

  • Has anyone else been unable to click [open] a document folder while in the column view in finder?

    Since I have downloaded Mavericks, I am unable to open any document folder in the column view in finder.  When i go to any other view such as cover flow or list, they open.  But when it is in the column view, I am unable to click any folder - or any document for that matter. Can anyone help or atleast tell me I'm not the only one?
    Mike

    okay i figured it out. for some reason i had to go to the settings menu and click arrange by name and it automaticaly fixed it. it was weird all of the names were gray, and the color tags were to the left of the folder titles.  i hope this helps if any of you had that problem too.

  • Do you also crash Preview  when opening scanned document pdf file?

    I recently crashed Mail when opening a message coming from my IAP with an attached pdf file. The cause is a crash of preview.app that I can repeat. Therefore the file (a scanned document) can be opened by Acrobat Reader. I found in some forum that AcrobatReader had a a similar problem a few months ago, now fixed. Do you know a work-around to force Mail not to use Preview? See below the report:
    Process: Preview [737]
    Path: /Applications/Preview.app/Contents/MacOS/Preview
    Identifier: com.apple.Preview
    Version: 4.1 (469.4)
    Build Info: Preview-4690400~13
    Code Type: X86 (Native)
    Parent Process: launchd [162]
    Date/Time: 2009-05-06 15:57:25.978 +0200
    OS Version: Mac OS X 10.5.6 (9G55)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x00000000000feff0
    Crashed Thread: Unknown
    Error Formulating Crash Report:
    * -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: VMUSignaturePath)

    I also have the same problem for a pdf doc entitled mens thongs and can not find a solution. I have searched all of the help files with no joy. Ahhhh

  • Can you open an .xls, .pdf or .doc from a Producer over WSRP?

    Has anyone tried to have a Producer create a .xls, .pdf, or a .doc and then try and consume it via a consumer?
    If so is there anything special you had to set up?

    In one of our project, We did consume Producer portlets to generate HTML report and send to printer for print out.
    One another project we generated reports using Jasper and consume that portlets in remote.
    When consumer send request to Producer, please make sure your URL is send correctly.
    You can monitor WSRP traffic by http://consumer:port/consumerWeb/monitor
    There is no special things to handle. As long as if you generate PDF, DOC in Producer, then you can consume.
    For better performance, if both Producer & Consumer on same box, please enable LOCAL PROXY, if you are using WLPortal 8.1.4 above.

  • Display a document pdf in an external window (WD ABAP)

    Hi all,
    I have an application <u><b>Web dynpro Abap</b></u> and it adds articles in a alv component that it is a purchase basket.
    This alv has a user function what opens a document pdf (interactiveForm)
    that shows the lines of the order. I would like that this pdf be displayed in an <b>external window</b>, and it was  independent of the window of alv of the purchase basket.
    This is possible. If it is possible, how can I do it?
    Regards,
    Ana

    hi
    good
    go through these links, which ll help you to give a clear idea about creating of the external window.
    http://help.sap.com/saphelp_nw04s/helpdata/en/0f/134540631d6f13e10000000a1550b0/content.htm
    thanks
    mrutyun^

  • Insert a link on xml report. The link should open up a document(PDFS).

    Is it possible to insert a link in the report? The value would come from a sql query. The link when clicked on would open up the pdf or doc.
    Is this done thru a href or by inserting a dynamic hyper link.
    The release Release 5.6.2 documentation references how to insert a hyperlink. NOt sure if this will work for me.
    I tried it but in the documentation it states:
    >
    If your input XML data includes an element that contains a hyperlink or part of
    one, you can create dynamic hyperlinks at runtime. In the Type the file or Web page
    name field of the Insert Hyperlink dialog box, enter the following syntax:
    {URL_LINK}
    where URL_LINK is the incoming data element name.
    >
    However the dialog box I am getting when I insert the hyperlink does not have a place to enter the element name. That is, there is no 'TYPE the file or Web page' area that I can see.

    hi ashalon,
    I did it this way in MS Word.
    1. create placeholder for value
    2. highlight it and make it a hyperlink
    3. enter the url into the address line
    So If you have a complete hyperlink in xml element URL_LINK you just have to enter {URL_LINK} into the address line. If you have only a part of the link, i.e only a product name, you can enter "http://www.oracle.com?product={PRODUCT_NAME}".
    Hope this helps.
    Regards
    chrissy

  • Office Web Apps 2013 - Sorry, there was a problem and we can't open this document. If this happens again, try opening the document in Microsoft Word

    Hello
    I had configured Office Web Apps for SharePoint 2013 which was working fine for about 2 months until this morning.
    The error message I get for WORD, PDF and Excel files is:
    The ULS logs on the WFE give me this:
    WOPI (CheckFile) Proof Data: AccessToken Hash '1572676699' [1054 bytes], URL
    01/08/2014 11:01:58.01*    w3wp.exe (0x1368)                           0x09B4    SharePoint Foundation       
         WOPI                              afk59    Monitorable   
    WOPI                              agxqc    Medium      WOPI Signature verification
    attempt failed with public key 01/08/2014
    11:01:58.01     w3wp.exe (0x1368)                           0x09B4    SharePoint Foundation       
         WOPI                              agxqc    Medium      WOPI
    Signature verification attempt failed with public key
    01/08/2014 11:01:58.01     w3wp.exe (0x1368)                           0x09B4    SharePoint Foundation       
         WOPI                              agxqb    Medium      WOPI
    Signature verification attempt failed - no public key    e75ead18-af27-4d44-ba50-b38b408011e8
    01/08/2014 11:01:58.01     w3wp.exe (0x1368)                           0x09B4    SharePoint Foundation       
         WOPI                              ahdzz    Monitorable    WOPI
    Proof: All WOPI Signature verification attempts failed    e75ead18-af27-4d44-ba50-b38b408011e8
    01/08/2014 11:01:58.01     w3wp.exe (0x1368)                           0x09B4    SharePoint Foundation       
         WOPI                              ag7pj    Unexpected    WOPI
    (CheckFile) - Invalid Proof Signature for file Letterhead Template.docx  url: http://site.contoso.com/_vti_bin/wopi.ashx/files/9c5d0d7077aa43e9a9538c02deb57580?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOi
    The ULS Logs on my Office Web Apps server gives me this:
    Error message from host: Verifying signature failed, host correlation:     d197d187-ef9d-42f6-ae4f-c4b8199c1078
    WOPICheckFile,WACSERVER FileNotFound
    WOPI CheckFile: Catch-All Failure [exception:Microsoft.Office.Web.Common.EnvironmentAdapters.FileUnknownException: WOPI 404
    Any idea what may have caused this issue all of a sudden?
    Thank you.
    Yoshi

    Hi Waqas
    Thanks for your help with this. I had a look at both posts, the URL works fine from the WAC server and I am not using a System account to test docs.
    Also, this is a production site that is accessible over the Internet, so we are using https therefore the WOPIZone is external-https.
    Issue #3 in the above blog link does not reflect the same error I see on my servers.
    I also had a look at the information in this link: http://technet.microsoft.com/en-us/library/ff431687.aspx#oauth
    Problem: You receive a "Sorry, there was a problem and we can't open this document" error when you try to view an Office document in Office Web Apps.
    If you added domains to the Allow List by using the
    New-OfficeWebAppsHost cmdlet, make sure you’re accessing Office Web Apps from a host domain that’s in the Allow List. To view the host domains in the Allow List, on the Office Web Apps Server open the Windows PowerShell prompt as an administrator and run
    the Get-OfficeWebAppsHost cmdlet. To add a domain to the Allow List, use the
    New-OfficeWebAppsHost cmdlet.
    I have not added any domains to the Allow list so this did not help either. Should I add the domain?
    Any further help with this is much appreciated.
    Thanks again.
    Yoshi

Maybe you are looking for