Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
[1] I have a image control to show the picture of students.

[2] If I doesn't want to insert picture in image ctrl (even when I insert a new record in application) I want to show "No picture is inserted" on image control_click()

I don't want msgbox but the message on image ctrl (by default it sh'd show if picture is not present in the picture box otherwise it may show picture)

So what sh'd I do???
please help....
Posted

1 solution

The simplest and easiest method I used to follow is keeping an label with text on image control by default if no image is set, that label will be displayed on the top and later if image is loaded you may hide the label.
 
Share this answer
 
Comments
surkhi 12-Feb-13 7:21am    
amazinggg, why this idea didn't came in my mind........
Thanx
Is their any property to hide the label after picture load???
Jibesh 12-Feb-13 7:23am    
label.Visible = false; very eazy. it will come to your mind when time passes...
surkhi 12-Feb-13 7:27am    
THANX A LOT!!!!!!
Jibesh 12-Feb-13 7:29am    
You are welcome.

Warning!!!

dont use all caps in internet world which means shouting. not to many people here likes shouting(all caps). so be-careful next time.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900