FactorytalkView SE PDF view

crawler009

Member
Join Date
Feb 2012
Location
Planet Earth
Posts
239
Hello guys

i'm trying to display a pdf file in factorytalkview and remove the toolbars,
so the user dont has access to the Windows file system (via save).

I installed the foxit reader and adobe reader on my system, FTV 9/Win10.

But i cant get it working like it should / i want to.

1. Microsoft Web browser activex
I open the pdf with
Code:
MicrosoftWebBrowser1.Navigate2 ("C:\test.pdf#toolbar=0&scrollbar=0&navpanes=0")
It hides (mostly, but not always) the navigation bar and the toolbar. But if i press F4/F8 the toolbars appear (Adobe toolbars)
If only Foxit is installed, the toolbars is always shown.

2. FoxitReader Control activex
I open the pdf with
Code:
FoxitReaderControl1.OpenFile ("C:\test.pdf")
It shows always the the toolbar with the save button.

3. Adobe PDF Reader 11 activex
I cant get it to load a pdf, it shows no error on diagnostics, but it does nothing.
According to http://www.plctalk.net/qanda/showthread.php?t=42393 it should work.
I tried
Code:
AdobePDFReader1.LoadFile ("C:\test.pdf")
AdobePDFReader1.src = "C:\test.pdf"
invoke display3.AdobePDFReader1.src("C:\test.pdf")
but nothing worked for me.
Also wired is that if i change the hight or width
Code:
AdobePDFReader1.Height = 200
AdobePDFReader1.Width = 400
it doesnt resize. It seems not respoding to anything. I tried this on a second
pc with FTVSE8.2/WIN7 and same behaviour. So i do something wrong. It
is exposed to vba as "vba Control"
edit: i can see that the green (vba) border gets resized to the new size, but the pdf logo with the grey background remains
in the original position. As if it doesnt refreh correctly.
I think the Adobe activex could be interesting, because it has a "AdobePDFReader1.setShowToolbar " method.


Can anybody give me a hint what i could do to get the adobe plugin working or remove the toolbars from foxit? Or a alternative way/software to show pdf files?
 
Last edited:

Similar Topics

Hi guys, Is it possible to automatically generate PDF Report of Trend and Datalog in FactoryTalk View SE v12? If YES, Please, how?
Replies
0
Views
667
Hello Friends I have 2 languages in my app, en-US, es-MX. I need to send CurrentLanguage to PLC, I am trying with Macro in Global Connections...
Replies
5
Views
163
What is the gold standard ( hoping there is one )for converting ME alarms over to SE? I've been using the RA Knowledge Base method of creating a...
Replies
1
Views
716
WOW. This one still has the low resolution graphics from the 1990's at about 10 times the price. just FOUND OUT Automation Direct Brix can Run...
Replies
18
Views
3,068
I have 3 groups of users under security settings. i want a button to be visible when group1 or group3 logged in, and invisible when group2 is...
Replies
5
Views
1,255
Back
Top Bottom