Question The WebBrowser component wants to save a picture on loading

johncove

New member
Joined
Nov 19, 2015
Messages
1
Programming Experience
10+
Hello,

I am using the WebBrowser component to display a web page using VB.NET code.

The web page and method I am using is as below:-

WebBrowser1.Navigate("http://chart.finance.yahoo.com/z?s=EXPN.L&t=1d&z=l")

However, when the program is compiled and run the application wants to try and save a PNG file and does not display the chart. If I try an alternative URL, such as
then the page loads without a problem.

Is there a way round this? It is not possible due to the way the image is being created on the Yahoo platform?
 

Attachments

  • 2015-11-19_10h23_31.png
    2015-11-19_10h23_31.png
    40.7 KB · Views: 25
Last edited:
This is not default behaviour and has to do with the configuration of the computer. When I navigate to that url Webbrowser shows the image. Try using Internet Explorer and navigate to that url, when you get the file download see if you can anyhow change the default open/save behaviour for that file type.
 
Back
Top