Tema: Pdf Con Asp
Ver Mensaje Individual
  #7 (permalink)  
Antiguo 13/12/2004, 10:33
Avatar de Fabu_dina
Fabu_dina
 
Fecha de Ingreso: enero-2004
Mensajes: 425
Antigüedad: 20 años, 2 meses
Puntos: 1
//xfile=Server.MapPath(lib.fso.GetTempName())
xfile="xxx.pfd"
xf=lib.fopen(xfile,"wb");
if(xf.number)this.Error("Unable to create output file: " + xfile);
lib.fwrite(xf,this.buffer);
lib.fclose(xf);
outB = Server.CreateObject("ADODB.Stream")
outB.Type = 1
outB.Open()
outB.LoadFromFile (xfile)
Response.BinaryWrite(outB.Read())
outB.Close()
lib.fso.DeleteFile(xfile);



CAMBIANDO EL CODIGO A ESTO ME SIGUE SALIENDO LO MISMO

ENTONCES NO ES POR AHI :(