Advertisement
idsystems

VBBD_Ejercicio03

Jan 17th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Private Sub cmdLeer_Click()
  2. Dim Linea As String
  3. Dim Archivo As String
  4.  
  5. Open "C:\DATOS.DOC" For Input As #1
  6.  
  7. While Not EOF(1)
  8.  
  9. Line Input #1, Linea
  10.  
  11.         Text1.Text = Text1.Text & Linea & Chr(13) & Chr(10)
  12.  
  13. Wend
  14. Close #1
  15.  
  16. End Sub
  17.  
  18. Private Sub cmdSalir_Click()
  19. End
  20. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement