Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening a file with the webBrowser control
Message
 
 
To
12/09/2007 15:07:48
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01253987
Message ID:
01253988
Views:
29
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform