Re: Web Browser control
- From: "dib" <dNOSPAMibs@xxxxxxxxxxx>
- Date: Mon, 29 Aug 2005 23:53:48 -0400
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
>>
>>
>
>
.
- References:
- Web Browser control
- From: Dib
- Re: Web Browser control
- From: Veign
- Web Browser control
- Prev by Date: Re: Newbie: Get Version number automatically
- Next by Date: Re: Copying Similar Data Structures
- Previous by thread: Re: Web Browser control
- Next by thread: How to set column headers for listbox in VBA?
- Index(es):
Relevant Pages
|