Announcement

Collapse
No announcement yet.

Could not load PDF/ Crashes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Could not load PDF/ Crashes

    Hello People!
    Im having a kinda bug or something when trying to use PDF object plugin.
    Im trying to load a PDF named with some variables as date,time,etc. but
    it doesn't load anything. my code is:

    Code:
    PDF.LoadFile("PDF1", _WindowsFolder.."\\ez\\reg\\"..namedate.."  "..namehour.."-"..nameminute.."-"..namesecond..".pdf");
    the route works with File.Open , etc. but sincerely i don't know what to do, i want just to display that PDF on Dialog.

    Ps: When i close the Dialog, it freezes/crashes the main preview, after some minutes it closes the dialog, and continue working.

    Some ideas? Thanks advance.

  • #2
    Hello guys, sorry for making double post. i have to make an update.

    I have tried many times and the problem is not with the route, the problem is open a PDF in DialogEx.
    it freezes when closing, exactly the DialogEx.DeleteObject (i've tried assigning it to a buttom and whoala! same freeze/crash)

    Comment


    • #3
      Please post the *.apz of a sample project, as I was unable to replicate the issue. There is also no plausible reason why you should store PDF files in the Windows folder, as they are not components of the operating system. Please place these files into a proper location, like the Docs folder of your application, or one of the AppData folders.

      Click image for larger version

Name:	SCRN-2017-02-01-01.png
Views:	85
Size:	68.1 KB
ID:	297539

      Ulrich

      Comment


      • #4
        Originally posted by Ulrich View Post
        Please post the *.apz of a sample project, as I was unable to replicate the issue. There is also no plausible reason why you should store PDF files in the Windows folder, as they are not components of the operating system. Please place these files into a proper location, like the Docs folder of your application, or one of the AppData folders.

        [ATTACH=CONFIG]n297539[/ATTACH]

        Ulrich
        Hello there! here i recorded a video showing the problem in a sample apz.



        also apz added in this post.

        Note: The problem is when i click close button, or close the dialog. i've tried also in a page. and page.jump also freezes.

        Attached Files

        Comment


        • #5
          Updated!

          Problem fixed. There was a kind of bug produced by Adobe Reader DC, i just installed Adobe Reader 11 and worked fine!
          Nothing more to say here! Close this thread.

          Comment

          Working...
          X
          😀
          🥰
          🤢
          😎
          😡
          👍
          👎