bjwade62 Well-known member Joined May 25, 2006 Messages 50 Programming Experience 3-5 Sep 21, 2006 #1 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
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
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,858 Location Norway Programming Experience 10+ Sep 21, 2006 #2 You don't say what Dtl_image is, but I can tell you that Image.FromFile method is a function that returns an Image. Upvote 0 Downvote
You don't say what Dtl_image is, but I can tell you that Image.FromFile method is a function that returns an Image.
JuggaloBrotha VB.NET Forum Moderator Staff member Joined Jun 3, 2004 Messages 4,530 Location Lansing, MI; USA Programming Experience 10+ Sep 21, 2006 #3 my guess is that you would need something like: Dtl_image.Image = Dtl_image.Image.FromFile(SelFileName) Upvote 0 Downvote
my guess is that you would need something like: Dtl_image.Image = Dtl_image.Image.FromFile(SelFileName)