What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Solved] Need help for concatenating strings

[Solved] Need help for concatenating strings
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Need help for concatenating strings
What is the path you are passing to the function?

code:
var oFSO = new ActiveXObject('Scripting.FileSystemObject');

function ReadFile( filepath ) {
    if ( FileExists( filepath ) == true ) {
        var f = fso.OpenTextFile( filepath, 1 /* For_Reading */, false, (-2) /* TristateUseDefault  */ );
        return( f.ReadAll() );
    }
    return false;
}

function FileExists ( filepath ) { return oFSO.FileExists( filepath ); }

This post was edited on 08-31-2008 at 06:20 AM by matty.
08-31-2008 06:19 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Solved] Need help for concatenating strings - by pauleeer on 08-30-2008 at 11:52 PM
RE: Need help for concatenating strings - by matty on 08-31-2008 at 06:19 AM
RE: Need help for concatenating strings - by pauleeer on 08-31-2008 at 09:37 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On