Re: Web Browser control

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Chris,

What do recomend to use to open a PDF file through VB, I used the pdf.ocx in
my app, but when I installed the app on another machine that is using
Acrobat Version 7, I got an error Saying You cannot run PDF file inthe web
browser and version does not come with the pdf.ocx.

Thanks
Dib

"Veign" <NOSPAMinveign@xxxxxxxxx> wrote in message
news:%23mOZcmQrFHA.3796@xxxxxxxxxxxxxxxxxxxxxxx
> This kinda of behavior has alot to do with how the user has setup IE and
> whether IE knows what to do with the file extension. Basically I don't
> believe you can change the behavior for just your instance of the web
> browser control without affecting standalone IE.
>
> Also, SP2 introduced alot more security enhancements to IE to help prevent
> the user from opening an undesirable file.
>
> --
> Chris Hanscom - Microsoft MVP (VB)
> Veign's Resource Center
> http://www.veign.com/vrc_main.asp
> --
>
>
> "Dib" <dNOSPAMshahene@xxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:u63tqJNrFHA.304@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi,
>>
>> I am using a Web Browser control in my app. VB6 to open a pdf document
>> so
>> that the user can preview the document.
>>
>> On my machine Windows 2000 SP 4 works fine, On XP SP 2 it does not work,
> the
>> user get a prompt to open or save the file, if click on open the pdf
>> file
>> is opened outside the program, is there a way to keep it inside the VB
> form?
>>
>>
>> Me.pdf1.Navigate "File Path and name"
>> Thanks
>> Dib
>>
>>
>
>


.



Relevant Pages

  • Re: Reading .PDF Files
    ... even does a spell check (automating MS Word) insure the word count isnt ... The app requires a full version of Acrobat V4 ... contents of a .pdf file", and can you afford to insist that your users have ...
    (microsoft.public.vb.general.discussion)
  • GPDF issue
    ... I have a curious situation with the Gpdf application on ... launching the app from the menu opens a window but the ... application in Mozilla to open a hyperlinked .pdf file online. ...
    (Fedora)
  • Re: Is this possible with "Process"?
    ... Yes, ideally, I would like the app to stay open. ... opens the next PDF file the entire Acrobat doesn't have to reload. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: file access
    ... >i can do this in dot net. ... the problem is that we have a VB app that need to the ability ... >to open a pdf file and store the contents in a table here is the code that i am using ... >and when the app is done i have a file on my hard drive with 0 bytes ...
    (microsoft.public.vb.general.discussion)
  • RE: Get url for pdf file from AxSHDocVw.AxWebBrowser
    ... I've found another way to get the URL of the PDF file currently being ... displayed "full screen" in the web browser control. ... returns an IAcroAxDocShim interface instead of an HTML DOM interface. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.vb)