The first way you suggest would work:

Say you have 2 text boxes, text1 and text2. when saving do this:

print #1, "text1"
print #1, text1.text

print #1, "text2"
print #1, text2.text



then, in your routine to get the text back

open the file and use

(assuming you open it as number 1

dim thetextbox as textbox
dim strTheText as string

do until eof(1)
Line Input #1, strTheText
if strTheText = "text1" then
set thetextbox = text1
elseif strTheText = "text2" then
set thetextbox = text2
else
thetextbox.text = strTheText
end if
loop

This is off the top of my head but it should work.

Hope it helps

[Edited by funkyd77 on 03-27-2000 at 01:36 AM]