Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening a file with the webBrowser control
Message
De
12/09/2007 15:37:21
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01253987
Message ID:
01253995
Vues:
39
Sergey,

Thanks for the reply.

I've tried unchecking the 'Confirm open after download' and it still prompts me with the second dialog. I'm trying this on a CHM file. Maybe its related to the IE security settings?

As for the 'Browse in same window', you are most likely aware that only certain types have this option enabled so that it can be changed. Unfortunately CHM is not one that allows it. That ok though; I just don't like seeing the 'Open', 'Save' or 'Cancel' prompt.

Mike


>Mike,
>
>See if Re: Excel Message #1240721 helps.
>
>
>>I have a simple document viewer form where I allow users to select any file to be opened in the web browser control embedded in a VFP form. While many of the "typical" files open and display within the browser itself (like HTM, XML, DOC, XLS, PDF, BMP, JPG, etc.) there are those that require opening via Windows file association. When that happens, I see two dialogs originating from the web browser's Navigate2 method:
>>
>>1) "File Download" (has a progress bar with an enabled 'Cancel' button) and
>>2) "File Download - Security Warning" (has a 'Do you want to open or save this file?' with 'Open', 'Save' and 'Cancel' buttons).
>>
>>Is there a way to prevent these dialogs and always have the file 'Opened'?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform