Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/03/2003, 16:17
Avatar de deprabado
deprabado
 
Fecha de Ingreso: febrero-2002
Mensajes: 649
Antigüedad: 23 años, 1 mes
Puntos: 0
Ya lo logre, ahora si funciona, pero alguien me puede decir que diferencia hay entre el codigo que me da el error y este?

<%
imagen="Imagen008.jpg"
'Create the object
Set Image = Server.CreateObject("AspImage.Image")

'Load image from the server ( must be the absolute path to it )
Image.LoadImage("xxx\www\2003\ensayos\"&imagen&"" )

'This property will get the height of the loaded image
Height = Image.MaxY

'Set up the text
Image.FontName = "Verdana"
Image.FontColor = vbYellow
Image.FontSize = 10
Image.Bold = True
Image.ThreeDColor = vbBlack

'Will place the text 18 pixels from the bottom and 1 pixel from the left of the picture
Image.TextOut " Robertomata.com ", 30, Height-18, True

'Set the file name for saving, directory must be set to "Everyone - Everything" permissions
Image.FileName = "xxx\www\2003\ensayos\"&imagen&""

'Does the actual save and returns a boolean value telling success ( the if statement is optional )
if Image.SaveImage then
bSavedSuccessfully = True
else
bSavedSuccessfully = False
end if
%>
creo que son casi iguales pero el del primer post no me funcionaba... ayuda porfavorrrr