|
-
Dec 11th, 2006, 08:23 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] load first pic from file
hi im trying to load the first jpg from a folder and here's my code but I m getting error on the last line. Can someone pls correct me? ths
Dim Imagespath() As String = System.IO.Directory.GetFiles("C:\Underline_pics" & ("*.jpg"))
' Dim imagesindexes as New List(Of Integer)
frontpic.Image = Image.FromFile(Imagespath.IndexOf(0))
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|