un'altra cosa sms mi ha detto che con questo codice potevo dedurre WxH ma mi da errore come mai l'errore sta nella parte segnata di rosso l oso perche ho aggiunto il codice riga per riga, ma non so che errore e' perche e' disabilitata la visualizzazione degli errori, approposito come si fa ad abilitarla?

codice:
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<%@ Import namespace="System.IO" %>
<%@ Import namespace="System.Net" %>
<%@ Import namespace="System.Drawing" %>
<SCRIPT RUNAT="SERVER">
Dim immagine as String = Server.MapPath("/public/120.jpg")
Dim bmp as System.Drawing.Bitmap = CType(System.Drawing.Image.FromFile(immagine), System.Drawing.Bitmap)

Dim width as Integer
Dim height as Integer

width=bmp.width
height=bmp.height
response.Write("width: " & width & " x " & "height: " & height)
</SCRIPT>