danhen

Untitled

Jun 2nd, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.33 KB | None | 0 0
  1.     Dim iFile As Integer
  2.     Dim sCont As String
  3.     iFile = FreeFile()
  4.    
  5.     Open "~/xyz.odt" For Input As #iFile    'Input geht; Binary führt in der nachfolgenden Schleife zu einem Fehler weil über das Dateiende hinaus gelesen wird
  6.  
  7. Do while not EOF(iFile)
  8.   Line Input #iFile, s
  9.   sCont = sCont & s
  10. Loop
  11.  
  12.     Close #iFile
Add Comment
Please, Sign In to add comment