Loading pdf in web browser control with requireAdministrator UIaccess does not render pdf properly - pdf

I have a small vb6 application where I show PDF files in a web browser control. So I navigate to a required file using “WebBrowser1.Navigate”. It works well and the pc should have adobe reader installed.
But I have observed some strange behavior in windows 8 pcs (checked in about 4 PC).
If the application has asInvoker level manifest then pdf appear proper as expected.
If the application has requireAdministrator
level manifest then pdf does not appear and blank page appears.(so pdf is not rendered).Same problem comes for highestAvailable level if user is administrator.
I have observed loading webpage does not have this kind of problems.
So why the strange behaviour is shown if a application run as Administrator.
You can download the file from this link and check the said error.(EXE are already created with different manifest levels). Or adding web browser control to a form and just add WebBrowser1.Navigate("path to pdf") .Even no need to add manifest .running by using right click run as administrator gives error.

Related

Powerbuilder 17 Microsoft web browser

I am using powerbuilder 17 and having microsoft web browser control. I have placed that control on one window and trying to open pdf file which is present in my local path.
I want pdf file to be opened inside web browser control. But it is opening in chrome instead of browser. I have tried navigate as well as loadfile function.
When tried to open http link then it is working fine. It is opening in powerbuilder control itself.
Please assist if I am missing anything.

PDF not showing page number in edge browser (First Time)

I have PDF file when i open, it does not show the page numbers. When i do zoom IN or Zoom out, it start showing the page numbers.
I have checked Page zoom setting it is already 100%.
Other browsers working fine regarding this issue.
What should i do ?
Thanks
I have tried to view the local PDF file and the webpage which contains the PDF file using the legacy version Microsoft Edge and the latest version Microsoft Edge, they all showing the page number.
How do you view the PDF file in the Microsoft Edge, Directly open the Local PDF file using Microsoft Edge or view the PDF file in a web page? If you are viewing the PDF file on the web page, perhaps the issue is related to the code. Can you post the related code to reproduce the problem.
Besides, the issue might be related to the browser cache, you could try to clear the browser data (cache), and then recheck whether it works. If still not working, try to reset or repair Edge browser.

TFS2015 Document library- open file instead of download

when i am trying to view files from my TFS document library it's download the file instead of opening it automatic with excel OR word that are already installed on my pc, does someone know how to fix it?
i am using office365 and TFS2015 as you can see at the screenshot that attached this is how it's look like in PC that working fine.
This kind of issue may related to your IE security setting, try to add the related sharepoint site in trust site and try again:
Close your browser (if you don't and you have your SharePoint site up you'll get a bunch of script errors because of the change to access
levels).
Go to your Control Panel
Open Internet Properties
Select the Security tab.
Select Trusted Sites
Click Sites, and add the URL for your SharePoint site.
More details please refer this similar issue: "Some files can harm your computer" dialog when I open a file from the document library
If the warning dialog is disappear, but when you open file still download. Then that behavior maybe defined by your browser. Try some other browser such as IE/Chrome/FireFox. Double check the integration/link of your browser and Word,Excel.

WebDav Pdf Saving error

I have set up a webdav folder that I can access thorugh chrome and edit files and save them back to the server, for example, I can open a word doc, edit it and save it back.
When I come to open a pdf, it wont save back to the server and downloads a copy of the pdf instead of the original.
Is there a way of enabling this to edit a pdf?
My end goal is to be able to open a pdf, add comments/highlights and save it back to the server, through my browser.
Thank you
Edit:
I have set this up through Apache 2.4, no plug ins through chrome, I have mapped a network drive to the server folder where I can open and edit files. Except PDFs, I would like to add comments to a off but when I open one the option is greyed out and when I try and save it after opening it tries to save to my desktop.
I'm not sure i've got your use case right, but if i've understood you correctly you have a link in a web page to a PDF which you're viewing in chrome. You click on that link and the PDF downloads to a temp file from which it is opened. If you edit and save those changes are simply saved to the temp file on your local PC. Is that correct?
If so, then this is simply normal behaviour for links in web pages. There is absolutely nothing in the HTML standard which suggests links should be opened by an editor with knowledge of the source location.
What you really want is for the link to launch an editor program which retrieves the remote document in edit mode (probably locking the remote resource) and then have edits saved back to the server. For this to happen there generally needs to be some special interaction in the browser. In Internet Explorer this is provided by the sharepoint dll and special script code. I think there's a plugin for Chrome which does the same thing, although differently.
I havent used the Chrome plugin, but i think this might help - https://code.google.com/p/npapi-msdocs/

Image not displaying in image control

I'm showing an image in image control. For that I have created File Upload control of TextBox and button. And storing image in projects Images folder.Image is uploading very well. But it always needs to include in project then only I'm getting image displayed. Is there any solution to overcome this problem?
Be aware that the Silverlight application is running LOCAL in the user's browser. It cannot (easily) access files on the webserver that you upload. Files you include in the project work because they are compiled into the dll which is downloaded to the browser.
To dynamically access files uploaded to the server you need to implement some kind of WCF service to send it back. I don't know if you can easily "download" a file into a Silverlight App with a URL. Silerlight is pretty tight on what you can and cannt do...