bjwade62 Posted September 21, 2006 Posted September 21, 2006 I'm using the following code to display an image from a file. However it doesn't work for some reason. Anyhelp out there? Dtl_image.Image.FromFile(SelFileName) Thanks, Bernie Quote
Leaders snarfblam Posted September 21, 2006 Leaders Posted September 21, 2006 Perhaps you are looking for this... Dtl_image.Image = Image.FromFile(SelFileName) 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). Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.