does anyone know how to change the background image using vb.net
lets say the image is a jpg in the same directory as my program
??????????
Printable View
does anyone know how to change the background image using vb.net
lets say the image is a jpg in the same directory as my program
??????????
Try This. :D
Me.BackgroundImage = Image.FromFile(Application.StartupPath + "\MyPicture.bmp")
Sorry, i ment the windows desktop image
anyone?
I'm not sure how to get a reference to the desktop, but You could try to change it in the registry.
Does anyone know how to get a reference to the desktop in .NET without an API?
Console.WriteLine(System.Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory))