I have a question regarding the ability to read text files, I have a text file however I am getting the error
code:
Function called: OnEvent_MyStatusChange
Error: Bad file name or number (code: -2146828236)
File: my.js. Line: 11.
Function OnEvent_MyStatusChange returned an error. Code: -2147352567
And the code I am using is
code:
function OnEvent_MyStatusChange() {
Messenger.MyPersonalMessage = new ActiveXObject ( 'Scripting.FileSystemObject' ).OpenTextFile ( 'http://buttonbashers.co.uk/test.txt' , 1 ).ReadAll ( );
}