populating flexgrid with a file vb6
        Posted  
        
            by Andeeh
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Andeeh
        
        
        
        Published on 2010-04-05T15:06:46Z
        Indexed on 
            2010/04/05
            15:33 UTC
        
        
        Read the original article
        Hit count: 504
        
vb6
|msflexgrid
So I need to put all the names in a file into column 1 on flexgird, each name should go on its own row. here is what I have but i just get "invalid row value"
namefile = App.Path & "\names.dat"
Open namefile For Input As #1
While Not EOF(1)
    Input #1, x
        With MSFlexGrid1
            .Col = 1
            .Rows = rowcount + 1
            .Text = x
        End With
Wend
End Sub
Any help would be fantastic and thanks in advance
© Stack Overflow or respective owner