button example

jutiyi

Member
Joined
Feb 16, 2005
Messages
14
Programming Experience
1-3
How to check the button.image file


example

img_gender.Image = Image.FromFile(mainFolder + "\Icon_image\icon_male.gif") then
Button1.Enabled = False
End If

i face this problem in this statement,does anyone know how to solve it?

Please help!!!!urgently
Thanks.
 

yfng

Member
Joined
Feb 23, 2005
Messages
13
Programming Experience
Beginner
You may use ImageButton.ImageUrl to get the link of the image.

jutiyi said:
How to check the button.image file


example

img_gender.Image = Image.FromFile(mainFolder + "\Icon_image\icon_male.gif") then
Button1.Enabled = False
End If

i face this problem in this statement,does anyone know how to solve it?

Please help!!!!urgently
Thanks.
 
Top Bottom