Jump to content

TreyUsesDelphi

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. TreyUsesDelphi

    Save edgebrowser new window as file

    Thank you for your response. I looked at using javascript to download the file. The problem that I ran into was that I was restricted to saving the file to the downloads folder. In my application, I need to save the file to several different folders depending on the record being accessed. Changing the download directory will probably not work well. I suppose that I could make the download request, watch the download folder for the download to complete and then move the file to its intended destination. I was just hoping that there would be a simpler way to get it done.
  2. TreyUsesDelphi

    Save edgebrowser new window as file

    I have an embedded edgebrowser in my application. I am using the edgebrowser to navigate to and log into different websites. Oftentimes, the websites will have links to pdf files that I want to download to a specific directory. I am trying to accomplish this by adding code to the EdgeBrowserNewWindowRequested event but I cannot seem to figure out a way to save the contents of the page to a file. What is the best way to download the pdf?
  3. I am using FireDac and MySql. Autoreconnect is set to True in my FDConnection. My applications are usually left running overnight (without any database activity). When my users return to the application in the morning, they are met with a dialog "connection was killed" and/or "connection has gone away". I assume this is happening because of a timeout or as a part of the overnight backup of the database. Anyway, the connection is reconnecting without any issues and the users are able to continue working after they click the ok button on the dialog. Is there any way to stop the dialog from coming up at all?.
×