Foros del Web » Programando para Internet » ASP Clásico »

Desbloquear script para: Server.CreateObject("Scripting.FileSystemObject")

Estas en el tema de Desbloquear script para: Server.CreateObject("Scripting.FileSystemObject") en el foro de ASP Clásico en Foros del Web. PathXLS = Server.MapPath("./exportacion/Listado_telefono.xls") FinLinea = "" If not empresas.eof then Set fso = Server.CreateObject("Scripting.FileSystemObject") Set Arch_Excel = fso.CreateTextFile(PathXLS, True) 'Set oConn = Server.CreateObject("ADODB.Connection") ' Recorro ...
  #1 (permalink)  
Antiguo 14/09/2004, 07:18
Avatar de skatomundo  
Fecha de Ingreso: junio-2002
Ubicación: Santiago - CL
Mensajes: 2.532
Antigüedad: 22 años
Puntos: 125
Exclamación Desbloquear script para: Server.CreateObject("Scripting.FileSystemObject")

PathXLS = Server.MapPath("./exportacion/Listado_telefono.xls")
FinLinea = ""

If not empresas.eof then
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set Arch_Excel = fso.CreateTextFile(PathXLS, True)
'Set oConn = Server.CreateObject("ADODB.Connection")

' Recorro todo el recordset recuperando sus valores y escribiéndolos en el archivo Excel
If not empresas.bof or not empresas.eof then empresas.MoveFirst
'En la primera linea escribimos los nombres de los campos para que quede más bonito :P
encabezado = "Cluster" & chr(9) &"Cuenta"
Arch_Excel.writeline encabezado
Do while Not empresas.EOF
FinLinea = ""
For each x in empresas.fields
FinLinea = FinLinea & x.value & chr(9)
Next
Arch_Excel.writeline FinLinea
empresas.MoveNext
Loop


pARA ESTA INSTRUCCION:
Set fso = Server.CreateObject("Scripting.FileSystemObject")

DEBO BAJAR MI SEGURIDAD DE "BLOQUEO DE SCRIPT DE MI ANTIVIRUS O FIREWALL"?????

yo tengo NORTON SYSTEMWORK 2002, con bloqueo de SCRIPT.

salu2
  #2 (permalink)  
Antiguo 14/09/2004, 08:12
 
Fecha de Ingreso: abril-2004
Ubicación: México D.F.
Mensajes: 1.724
Antigüedad: 20 años, 1 mes
Puntos: 4
Cita:
Iniciado por skatomundo
PathXLS = Server.MapPath
DEBO BAJAR MI SEGURIDAD DE "BLOQUEO DE SCRIPT DE MI ANTIVIRUS O FIREWALL"?????
Lo del firewall nada que ver, encuanto al scripting sí, de forma predeterminada el Norton te lo bloqueo, todo esto gracias al spyder (creador del I love you.vbs)
  #3 (permalink)  
Antiguo 14/09/2004, 13:35
Avatar de skatomundo  
Fecha de Ingreso: junio-2002
Ubicación: Santiago - CL
Mensajes: 2.532
Antigüedad: 22 años
Puntos: 125
shia...ese NorTon se las toma ... sin preguntar...
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 01:23.