heero11yuy Posted August 18, 2006 Share Posted August 18, 2006 Dim score_test, fs, f Set fs=Server.CreateObject("Scripting.FileSystemObject") Set f=fs.OpenTextFile(Server.MapPath("top_score_3"), 1) Response.Write(f.ReadLine) f.Close Set f=Nothing Set fs=Nothing >> score_test = I needa store the content of f.ReadLine into score_test, but it's not an Object... may anyone suggest some ways which I can do it? Link to comment Share on other sites More sharing options...
aspnetguy Posted August 18, 2006 Share Posted August 18, 2006 Readline is a method it needs () like thisscore_test = f.Readline()f.Close()...etc...etc Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now