OK,
This works
Dim f As folderitem
Dim TOS As TextOutputStream
f = DesktopFolder.Child("myExpFile")
If f exists then
If f <> Nil then
'do nothing
end if
else
TOS = f.CreateTextFile
TOS.WriteLine FirstName.Text
TOS.WriteLine LastName.Text
TOS.WriteLine Age.Text
TOS.WriteLine Address.Text
TOS.Close
end if
Thanks again.
Lennox.
Russ Jones <[EMAIL PROTECTED]> wrote: Hi Lennox.
I believe you would find the f=DesktopFolder() method useful.
You could use that to initialize a folderitem, then use the f.child
method to initialize each of your text files.
Russ
On Jul 30, 2006, at 8:42 PM, Lennox Jacob wrote:
> Hello,
> I have a Pushbutton named Export, which,when clicked, I would like
> it to export data (EF1.text, EF2.text, EF3.text, EF4.text) from
> some chosen editfields (EF1, EF2, EF3, EF4) to a new text file on
> the desktop.
> Not Save or SaveAs like when the whole document is saved.
> How is that done?
> Thanks.
> Lennox.
_______________________________________________
Unsubscribe or switch delivery mode:
Search the archives of this list here:
---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
_______________________________________________
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>