|
-
May 7th, 2002, 09:55 PM
#1
Thread Starter
New Member
background image
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
??????????
-
May 7th, 2002, 10:53 PM
#2
Addicted Member
Try This.
Me.BackgroundImage = Image.FromFile(Application.StartupPath + "\MyPicture.bmp")
That which does not kill us, only makes us stronger. 
-
May 8th, 2002, 01:12 PM
#3
Thread Starter
New Member
Sorry, i ment the windows desktop image
anyone?
-
May 8th, 2002, 09:12 PM
#4
Addicted Member
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?
That which does not kill us, only makes us stronger. 
-
May 31st, 2002, 03:44 PM
#5
New Member
Console.WriteLine(System.Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory))
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|