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

AxAcroPDF cursor positon in VB.net program

New Here ,
Dec 21, 2021 Dec 21, 2021

I have a VB.net program using AxAcroPDF to load PDF files from the desktop and I have a problem with cursor position.

The user selects from a folder via Radio Button. The program goes to the folder, gets the path for the first PDF file and and loads it to the screen via AxAcroPDF1.  The cursor should go to a Text Box so the user can enter the customer number. The program then copies the PDF file to a customer specific folder, deletes it from the desktop folder, gets the next PDF file in the desktop folder and displays it in a loop.  This way customer service can scan a stack of documents and use the program to move them into their customer specific folders.

When I first worked with the program, the PDF file was not allowing scroll. You could only see the top of the document, and there was no Adobe tool bar. The cursor properly positioned to the text box. The users wanted the ability to scroll the document. I played with the size of the PDF window and suddenly the scroll bar started working and the Adobe toolbar appeared, but the cursor stopped positioning to the text box.  Now, when it loads a new PDF document, the cursor goes to the PDF scroll bar instead of returning to the text box. Now they have to click on the text box every time and it's interfering with their data entry. How do I make cursor return to the text box but keep the ability to use the scroll bar and Adobe tool bar?

 

TOPICS
PDF and browsers , Share or review PDFs , View PDF , Windows
344
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