Sto seguendo un tutorial alla lettera, ma IE mi da questo errore:
Tipo di errore:
Errore di compilazione di Microsoft VBScript (0x800A0414)
Impossibile utilizzare parentesi per la chiamata di routine Sub
/sitoasp/news/archives.asp, line 15, column 51
myTOC.GetNthDescription("news/archiveslist.txt", 1)
Il file è questo:
<%@ LANGUAGE="VBSCRIPT" %>
<% pageTitle = "Outpost Archives" %>
<table align="center">
<tr>
<td>
<h1>Outpost Archives</h1>
</td>
</tr>
</table>
<% set myTOC = Server.CreateObject("MSWC.NextLink") %>
The first URL is: <%= myTOC.GetNthURL("news/archiveslist.txt", 1) %>
The first description is: <% myTOC.GetNthDescription("news/archiveslist.txt", 1) %>
</BODY>
</HTML>
E se nn mi desse l'errore dovrebbe estrarre le url da questo file di testo(archiveslist.txt):
/news/destiny.asp Mission to Destiny Finally Airs 'MtD Pilot
/news/gossip.asp Dark Heroes, Millennium Mysteries, and a Baby 'Gossip
/news/allissa.asp Review: Warrior Queen 'Review
Grazie a tutti!!![]()