2009-04-16 5 views

Antwort

7
If New FileInfo(.FileName).Length > 25 * 1024 Then ... 'More than 25KB' 
Dim img = Image.FromFile(.FileName) 
If img.Size.Width > 150 OrElse img.Size.Height > 150 Then ... 'More than 150x150' 
Picturebox1.Image = img 
Verwandte Themen