Forum Moderators: open
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument
/newhardrockvn/admin/lib/inc_upload.asp, line 141
code:
If oFS.FileExists(sPath& FileName2) Then Exit Sub
Set oFile = oFS.CreateTextFile(sPath & fileName2, true)
For nIndex = 1 to LenB(FileData)
oFile.Write Chr(AscB(MidB(FileData,nIndex,1))) ' line 141
Next