Skip to main content
johnw89733537
Participant
November 20, 2020
Answered

app.alert Adobe ActiveX

  • November 20, 2020
  • 1 reply
  • 641 views

With the latest build of Windows 10 (19042) the app.alert functionality no longer works inside of IE 11 (yes, we are moving away from IE 11) when the PDF is presented inside of the browser. The sound notification is present but the pop up box no longer shows up. I've rolled back to the previous Windows 10 build and it works. Has anyone encountered this or have any ideas on how to program it to work?

 

Here is the code:

strJS = "if (app.alert('Are you sure you want to delete this document?',2,2) == 4){" & vbcrlf &_
"this.getField('" & strName & "').readonly = true;" & vbcrlf &_
"this.submitForm({" & vbcrlf &_
"cURL: '" & strURL & "', " & vbcrlf &_
"cSubmitAs: 'HTML' " & vbcrlf &_
"});" & vbcrlf &_
"}"

This topic has been closed for replies.
Correct answer johnw89733537

In case someone encounters this issue in the future. Here is a workaround.

 

  1. Adobe Reader DC must be installed AND set as the default.
  2. Open Adobe Reader DC
  3. From the menus, select “Edit” then “Preferences”
  4. In the preferences dialog, select “Security (Enhanced)” from the list of categories
  5. In “Sandbox Protections” uncheck “Enable Protected Mode at startup”

 

Something in the latest build in Windows 10 broke this process. Nevertheless, here is a solution.

1 reply

johnw89733537
johnw89733537AuthorCorrect answer
Participant
November 20, 2020

In case someone encounters this issue in the future. Here is a workaround.

 

  1. Adobe Reader DC must be installed AND set as the default.
  2. Open Adobe Reader DC
  3. From the menus, select “Edit” then “Preferences”
  4. In the preferences dialog, select “Security (Enhanced)” from the list of categories
  5. In “Sandbox Protections” uncheck “Enable Protected Mode at startup”

 

Something in the latest build in Windows 10 broke this process. Nevertheless, here is a solution.