ho copiato il codice che hai scritto sulla mia pagina e gli errori che mi da sono:
1) nome File non dichiarato
2) tipo Bitmap non definito
Dim f As String = "C:\dati\Prove Nicon\DSCN0014.JPG"
If File .Exists(f) Then
Dim bmp As New Bitmap (f)
Response.Write(String.Format("Width = {0}, Height = {1}", bmp.Width, bmp.Height))
bmp.Dispose()
End If