Tag Archives: download

Download and display a text file whenever a program starts in C#

When this example starts, it downloads a file from the internet and displays it. You could do something similar to display a message of the day or announcements for your program. The program uses the following Load event handler to … Continue reading

Posted in files, internet, web | Tagged , , , , , , , , , | Leave a comment

Display the Astronomy Picture of the Day on the desktop in C#

This example combines the techniques from the following two posts: Download the Astronomy Picture of the Day in C# Set the Windows desktop picture in C# This example uses two settings, LastLoadTime and LastUrl, to determine whether it is a … Continue reading

Posted in graphics, image processing, internet, system | Tagged , , , , , , , , , , , , , , | Leave a comment

Download the Astronomy Picture of the Day in C#

Each day the Astronomy Picture of the Day web page does exactly what you would expect: it displays a different astronomy picture. The pictures include planets, nebulae, spacecraft, and other astronomy-related images, and the page includes an explanation of the … Continue reading

Posted in graphics, image processing, internet | Tagged , , , , , , , , , , , | Leave a comment

Download images from a web page in C#

This is a big program and this description only touches on its most interesting parts. Download it to see the details. The program displays a WebBrowser control on the left. Click the links on the WebBrowser to navigate to a … Continue reading

Posted in graphics, internet, web | Tagged , , , , , , , , , , , , , , , , , | Leave a comment