risolto facendo cosi:

codice:
Dim objBMP As System.Drawing.Image
Dim objGraphics As System.Drawing.Image
Dim strPath As String = "myDir"
'prendiamo alcune informazioni importanti dall'immagine orginale
objBMP = New Bitmap(Server.MapPath(strPath & oRow(5).ToString()))
Dim imgw As Integer = objBMP.Width
Dim imgh As Integer = objBMP.Height
ciao