Do a search in the language reference for TextInputStream
-----Original Message-----
From: gettingstarted-bounces at lists dot realsoftware dot com
[mailto:gettingstarted-bounces at lists dot realsoftware dot com] On Behalf Of
Brian Heibert
Sent: Wednesday, April 27, 2005 9:58 PM
To: Getting Started
Subject: I don't get why this won't work
Dim f as folderitem
Dim t as textinputstream
dim hp as string
f=preferencesfolder.child("InternetPal Settings")
if f <> Nil then
t = f.OpenAsTextFile
settingsWIN.homepage.text= t.readline
hp = t.readline
settingsWIN.welcomespeech.text = t.readline
t.close
end if
SettingsWIN.close
I am saving a file and it looks like the file gets saved Why won't
this code above read the file?
Brian
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|