filesystemobjects
argh jeg får den her fejlError Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'FilesystemFileContext'
/add.asp, line 9
ved den her kode..
Set FileSystemFile = CreateObject("Scripting.FileSystemObject")
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Set Filesystem = CreateObject("Scripting.FileSystemObject")
FilesystemFileContext = Filesystem.OpenTextFile("C:\Inetpub\wwwroot\skod.txt", 8, true)
FilesystemFileContext.WriteLine ("- ") & skod
FilesystemFileContext.Close
Set FilesystemFileContext = Nothing
Set FileSystemFile = Nothing
Response.Redirect("index.html")
hvad er der galt?
