[Year 12 IPM] A vb question

Adrian Janson jansona at mhs.vic.edu.au
Fri Dec 8 11:16:26 EST 2006


Hi Bruce,

 

Making a picturebox blank can be done two ways.  The way I normally tell
students to use is to create a picturebox and make it invisible.  Name it
'picBlank' or something similar.  This picturebox can then be used to blank
another one by doing something like this:

 

picImage1.Image = picBlank.Image

 

Alternatively, the keyword 'Nothing' can be used like this:

 

picImage1.Image = Nothing

 

Hope this helps!

 

Cheers (and thanks for the great feedback!)

Adrian

 

 

Adrian Janson

VITTA President

Director of ICT

Melbourne High School

www.adrianjanson.com.au <http://www.adrianjanson.com.au/> 

 

 

  _____  

From: ipm-bounces at edulists.com.au [mailto:ipm-bounces at edulists.com.au] On
Behalf Of RILEY, Bruce
Sent: Friday, 8 December 2006 10:13 AM
To: ipm at edulists.com.au
Subject: [Year 12 IPM] A vb question

 

Hi everyone

Apologies for the cross mail with IPM and IS

I am working through Adrian Janson's excellent VB .NET for Education book. I
am using his Image browser program which uses the dialog box to open a
bitmap into a picturebox. I want to reset the picture box so that it is
clear. Can anyone tell me the command to do this please? I have not been
able to work it out.

Thanks

Bruce

_______________________________________________ 
http://www.edulists.com.au  <http://www.edulists.com.au> - FAQ, resources,
subscribe, unsubscribe 
IPM Mailing List kindly supported by 
http://www.vcaa.vic.edu.au  <http://www.vcaa.vic.edu.au> - Victorian
Curriculum and Assessment Authority and 
http://www.vitta.org.au  <http://www.vitta.org.au> - VITTA Victorian
Information Technology Teachers Association Inc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/ipm/attachments/20061208/50f2af44/attachment.html


More information about the ipm mailing list