Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening a file with the webBrowser control
Message
 
 
À
12/09/2007 15:07:48
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:
01253988
Vues:
27
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'?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform