J
John
Hi!
I have written a sub routine which opens a file and write in it.
The code I wrote is the following:
Sub WriteToFile(afm,data)
Dim filename,objFSO,objFile
filename=afm
Set objFSO=CreateObject("Scripting.FileSystemObject")
Set objFile=objFSO.CreateTextFile(filename,true)
objFile.WriteLine data
objFile.Close
end sub
However, when I call the sub through the browser (I.E.) seems to take for
ages in order to handle the script.(when I remove the script evrything works
fine)
I Google it, and I found that maybe I should deactivate the anti-virus.I did
it.Nothing.
Any ideas?Please.The whole thing drives me crazy.I have done it before with
VB 6.0 and it worked pretty well.
Thnx John
I have written a sub routine which opens a file and write in it.
The code I wrote is the following:
Sub WriteToFile(afm,data)
Dim filename,objFSO,objFile
filename=afm
Set objFSO=CreateObject("Scripting.FileSystemObject")
Set objFile=objFSO.CreateTextFile(filename,true)
objFile.WriteLine data
objFile.Close
end sub
However, when I call the sub through the browser (I.E.) seems to take for
ages in order to handle the script.(when I remove the script evrything works
fine)
I Google it, and I found that maybe I should deactivate the anti-virus.I did
it.Nothing.
Any ideas?Please.The whole thing drives me crazy.I have done it before with
VB 6.0 and it worked pretty well.
Thnx John