remove BackgroundImage from panel vb.net 
Author Message
 remove BackgroundImage from panel vb.net

i load some image in panel with

Panel1.BackgroundImage = Image.FromFile(OpenFileDialog1.FileName)

how i cann remove this image from my program

thanks



Sat, 30 Jul 2005 00:01:03 GMT  
 remove BackgroundImage from panel vb.net

Quote:

> how i cann remove this image from my program

. . . erm . . . let me see now . . . erm . . . okay, I give up! Perhaps you
could post to a .NET newsgroup and see what happens!

VB.NET is not Visual Basic. Never has been. Never will be. It's got nothing
whatsoever to do with the Basic language, Visual or otherwise!

Mike



Sat, 30 Jul 2005 00:57:25 GMT  
 remove BackgroundImage from panel vb.net


Quote:
> i load some image in panel with

> Panel1.BackgroundImage = Image.FromFile(OpenFileDialog1.FileName)

> how i cann remove this image from my program

> thanks

Have you tried:

Panel1.BackgroundImage = Nothing

HTH,
Tom Shelton



Sat, 30 Jul 2005 02:36:23 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Removing entries from Add/Remove list in control panel

2. .net Final BackGroundImage

3. Syncronizing scroll of panels in vb.net

4. statusbar panels in vb .net

5. App shows up twice in Control Panel Add/Remove Programs

6. remove previous vb6 project versions from Control Panel

7. Accessing control panel applet(add/remove programs)

8. Remove border of WebBrowser using Vb.net?

9. How to remove a ASP.NET VB web project

10. Newbe question: Adding and removing a field to a report with vb.net

11. how to using VB.net to write "Panel p = (Panel)FindControl(CurrentPanel);"

12. Smtp not running in the IIS Services panel on a W2K server with .NET

 

 
Powered by phpBB® Forum Software