<a href='ir.asp?http://www.forosdelweb.com/mensaje.asp?id=57123' target='_blank'>http://www.forosdelweb.com/mensaje.asp?i...</a>
Lo estuve modificando a mi antojo, pero da el siguiente error:
Código:
Mi código es el siguiente:Error Type: Microsoft VBScript compilation (0x800A03EE) Expected ')' /vehiculos/InfoDetallada.asp, line 261, column 45 file = response.Write(rstVTDC("Cod") & ".jpg" --------------------------------------------^
Código:
QUe debo arreglarle? dim filesys, filetxt, getname, path, file Set filesys = Server.CreateObject("Scripting.FileSystemObject") Set filetxt = filesys.CreateTextFile("c:\somefile.txt", True) file = response.Write(rstVTDC("Cod") & ".jpg" path = filesys.GetAbsolutePathName("\file") getname = filesys.GetFileName(path) filetxt.Close If filesys.FileExists(path) Then Response.Write ("Archivo Encontrado") End If

.::RsOfT::.
--El que se aferra a lo conocido, nunca conocerá lo desconocido--
--Es intentando lo imposible como se realiza lo posible--
--Es de pesimo gusto contentarse con algo mediocre cuando lo excelente esta a nuestro alcance--