...

View Full Version : ASP Upload Error



SSJ
04-13-2007, 01:10 PM
Hello Everyone,

I have a problem with my ASP Upload Script.

I am getting the error says

Invalid Procedure Call Or Argument



Set MyFileObject = Server.CreateObject("Scripting.FileSystemObject")
Set objFile = MyFileObject.CreateTextFile(filename,,-1)
For i = 1 to LenB(value)
objFile.Write chr(AscB(MidB(value,i,1))) 'Error On This Line
Next
objFile.Close
Set objFile = Nothing


Can anybody here aware of this?

Any Help would be greatly appreciated.....

Thanks in Advanced......

nikkiH
04-13-2007, 02:40 PM
Where did you see AscB as an available function for vbscript?
I think that might be your problem.

degsy
04-18-2007, 02:09 PM
Where did you see AscB as an available function for vbscript?
I think that might be your problem.
AscB is an inbuilt VBScript function.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum