Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

New Acrobat crash when I open PDF using apiShellExecute

New Here ,
Sep 13, 2023 Sep 13, 2023

After Update the command :
Result = apiShellExecute(hWndAccessApp, vbNullString, _
"c:\tmp\123.pdf", vbNullString, vbNullString, WIN_MAX)
Opens then Acrobat for a second end closes immediately.
Tryed  to switch to :
Result = Shell("rundll32.exe shell32.dll,OpenAs_RunDLL " & "c:\tmp\123.pdf", WIN_NORMAL)
the windows opening  select default program to open the file.



TOPICS
Modern Acrobat
145
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation