Use this code:

Dim fFile As Integer
a = "save 972-111-1111"
text1.text = a
fFile = FreeFile
Open "C:\myapp\number.txt" For Output As fFile
Print #fFile, Text1.Text
Close fFile

It works.
Thunderform is just the name for the command button, don't worry bout that.
Use a Windows API Spy to get window handles and stuff.

Hope that helps.

[Edited by Matthew Gates on 05-14-2000 at 03:54 AM]