
23/05/2006, 14:35
|
 | | | Fecha de Ingreso: enero-2002 Ubicación: Cali - Colombia
Mensajes: 2.234
Antigüedad: 23 años, 2 meses Puntos: 4 | |
me sale este error no me funciona Server Error in '/comerciou' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30002: Type 'Thumbnail' is not defined. Source Error: Line 5: Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.LoadLine 6: Line 7: Dim ThumbnailComponent as ThumbnailLine 8: Line 9: ' replace it with your image source file name Source File: D:\sitios web\ComercioU\web\clasificados\s.aspx Line: 7 estoy usando este codigo
<%@ Page Language="VB" Debug="true" %>
<%@ import Namespace="SmartThumbnail" %>
<script runat="server">
Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim ThumbnailComponent as Thumbnail
' replace it with your image source file name
Dim imageSourceFile as String = "pic/digitalphoto8.jpg"
ThumbnailComponent = New Thumbnail()
ThumbnailComponent.SetImgSrc(imageSourceFile)
ThumbnailComponent.SetQuality(90)
ThumbnailComponent.SetHeight(100)
ThumbnailComponent.Draw()
End Sub
</script> |