Hi,
I have only two text-boxes on the form.I will use text1.text for inputting datas
and pressing ENTER key to send the datas and display the entries in "text2.text"
I don't know which event to assing to the textbox..
thanks

VB Code:
  1. Private Sub Text1_LostFocus()
  2. Dim f As Integer
  3. f = FreeFile
  4. Open App.Path & "\sabit.html" For Append As f
  5. Write #f, "........................."
  6. Write #f, "isim:..", Text1.Text
  7. Write #f, "telefon..", Text1.Text
  8.  
  9. Close #f
  10. Dim buffer As String, hFile As Long
  11.     hFile = FreeFile()
  12.     Open App.Path & "\sabit.html" For Binary Access Read Lock Write As #hFile
  13.     buffer = Space(LOF(hFile))
  14.     Get #hFile, , buffer
  15.     Close #hFile
  16.      Text2.Text = buffer
  17.      Text1.Text = ""
  18. End Sub