Image wont display

bjwade62

Well-known member
Joined
Oct 31, 2003
Messages
104
Im using the following code to display an image from a file. However it doesnt work for some reason. Anyhelp out there?

Dtl_image.Image.FromFile(SelFileName)

Thanks,
Bernie
 
Perhaps you are looking for this...
[VB]
Dtl_image.Image = Image.FromFile(SelFileName)
[/VB]
You are calling the static method Imgae.FromFile from a reference to Dtl_image.Image, but doing nothing with the return result (such as storing it in Dtl_image.Image).
 
Back
Top