Is it possible to change desktop background using VB.NET?
I’d like to change the icons too?
I plan on making a VB.NET program that can automatically make Windows XP look like Mac in just one click.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Steps you will do.
Start visual studio 2005 and create a new window project.
Set the following properties of the form
Now drip a picture box control on the form and set its following properties.
Drop a two button controls on the form and set its following properties as below.
Now drop an openfiledialog control on the form.
Open you code window and import the following namespace.
Now declare the function and variables as below which will use win API’s to set the wallpaper.
Make a function as below.
Now in the click event of the first button write the following code to open and get the image.
In the click event of the second button write following code to set the wallpaper.