3 Replies Latest reply on Apr 11, 2011 2:42 AM by Muppet Mark-QAl63s

    open files

    zyberkid

      i need to open a PDF file in adobe reader.

       

      i have tried this code. but it is not working.

       

      here we go.

       

      i have a PDF in this path

       

      var filePath = "d:\\test_pdf.pdf";

       

      and converting it as a file

       

      var fileP = File(filePath);

       

      of course it exists

      alert(fileP.exists);

       

      opening the file

      var result = fileP.open("r", "pdf");

       

      its saying true

      alert(result);

      is there any way to open a PDF file with adobe reader externally ?