annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Displaying ActiveX PDF Locks Out String Control Input.

Hello,

I have an application that displays a PDF, and has a "String Control" input for my user.  Once the PDF is DISPLAYED you can no longer type in the "String Control".  My ideal solution will be some code I can execute in the background, and not ask my user to "Click Five Directions" and "Look at a Blue Moon".Smiley Molto-felice

I have found some things that allow "String Control" input after displaying a PDF:
1)  Press the "Tab" key and cycle back to the original "String Control".
2)  Display a "User Dialog" (the "OK" button) after displaying the PDF and it gives control back to the "String Control".

I made a simple VI for your review.  Please download and test.  I have asked NI support, however, they are stumped right now, and need to send this bug to "R&D".

Any advise is greatly appreciated.

Thank you,

Doug

I am using Labview 8.2.
0 Kudos
Messaggio 1 di 7
4.865Visualizzazioni
I cannot reproduce this (the string control is working correctly).

What version of acrobat reader are you using?
Have you tried multiple documents?
Wire an indicator to the i of the while loop. Is this indicator updating
after the document is loaded?

Regards,

Wiebe.


0 Kudos
Messaggio 2 di 7
4.856Visualizzazioni


What version of acrobat reader are you using?
Adobe Reader 8.1.2

Have you tried multiple documents?
Yes, I have tried many PDF documents.

Wire an indicator to the i of the while loop. Is this indicator updating
after the document is loaded?
Yes, the "i" counter continues as the while loop executes...before, and after the PDF is displayed.

I cannot reproduce this (the string control is working correctly).
I sure would like to know what versions of Labview you are using, and Version of "Reader"/"Acrobat".

Thanks,

Doug

0 Kudos
Messaggio 3 di 7
4.851Visualizzazioni
Doug,
 
I can repeat your problem on my laptop (Vista32, LabVIEW 8.5, Adobe 8.1.2).
 
Work around attached.
 
George Zou
 
George Zou
Messaggio 4 di 7
4.845Visualizzazioni
I will have to upgrade from LV 8.2 to LV 8.5 to see your report.  I have LV 8.5 but have been to lazy to install.  It seems everytime I upgrade all my custom VIs stop working. 

Now I have a reason to upgrade.  I'll report back after I have tested in LV 8.5.

Thanks,

Doug
0 Kudos
Messaggio 5 di 7
4.842Visualizzazioni
Oops.  Sorry.
 
The workaround should work in 8.2 either.
 
I saved it to previous version (8.2).
 
George Zou
 
George Zou
Messaggio 6 di 7
4.836Visualizzazioni
GEORGE ZOU!  OUTSTANDING!  IT WORKS!Smiley Molto-felice

The key ingredient was "APP" "BRING TO FRONT".  Located on the block diagram --> Application Control --> INVOKE NODE will give an "APP", change it to "BRING TO FRONT".

Excellent work George!

Thank you very much!

Doug
Messaggio 7 di 7
4.808Visualizzazioni