Simple Question....background.....
-
What is the code to dynamically change the background. So fir instance, if I press a button the background image will change? Cheers.
Me.BackgroundImage = Image.FromFile("_file name_")
example:Me.BackgroundImage = Image.FromFile("C:\myFile.jpg")
Regards,
Chatura Dilan
If at first you don't succeed, try; try again, so that you know what not to do the next time. The answer is out there.
-
Me.BackgroundImage = Image.FromFile("_file name_")
example:Me.BackgroundImage = Image.FromFile("C:\myFile.jpg")
Regards,
Chatura Dilan
If at first you don't succeed, try; try again, so that you know what not to do the next time. The answer is out there.
-
I'm getting an error with the Me.BackgroundImage part. 'BackgroundImage' is not a member of 'WebApplication5.WebForm2'. Do I need to declare anything anywhere? Cheers.
Woop:omg:s…I mean Window form’s background. You mean Web form’s background. I think I cannot help for that question. Someone will help you or ask your question from ASP.Net forum
Regards,
Chatura Dilan
If at first you don't succeed, try; try again, so that you know what not to do the next time. The answer is out there.