Results 1 to 2 of 2

Thread: I can't get no

  1. #1
    Guest

    Unhappy

    Hi.

    This is my code:

    Code:
    Private Sub abrir_Click()
        For j = 0 To 3
            a = App.Path & "\Basedados\" & (j + 1) & ".txt"
            Open a For Input As #(j + 1)
                While EOF(j + 1)
                    Grid1.Col = 1
                    Grid1.Row = i
                    Input #(j + 1), f
                    Grid1.Text = f
                    Grid1.AddItem ""
                Wend
            Close #(j + 1)
        Next j
    End Sub
    But i can´t get no data from the saved files, my grid is blank, please help out.

    numibesi

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Just a guess

    Should it be "While Not EOF..." instead of "While EOF..."??
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width