>I originally posted this in the VFP ActiveX controls area and since I don't seem to be getting a "quick" answer, I thought that I'd try here.
>
>
>Hello,
>
>I'm using the web browser ActiveX control on a VFP7 form. I can display HTML correctly within the control. Now I want to be able to click on a link that then opens a pdf file within the browser control. Currently, it asks me if I want to "Download" it or "Open it from...".
>
>I don't want this prompt to appear and would like for the pdf to open automatically within the browser. I've had this working correctly in the past, but, now it doesn't behave the same. Anyone know what I "fixed" to make it not work the way I want it to?
>
>The code that I am using is as follows:
>
>
<a href="file:///c:/myfolder/mypdf.pdf" target="_self">View PDF</a>
>TIA
>
>Mike
What happens when you try viewing PDF files from the browser - do you get the same effect ?
I had an idea that the problem is related to how your browser is currently set up. Note, if I am right, this will also be a problem for your users. I don't think you can programatically change the settings easily, but saying that, I have't used the ActiveX control in that way.
Len Speed