Hi,
I want to import each line of a file into an msflexgrid control and then separate the fields in the file according to whether it is tab/comma delimited. I have assigned each line in the file to an array entry 'lines(i)' and in the 'optComma_Click()' sub I have,
for i=1 to linecount
MSFlexgrid1.AddRows getLines(i)
next
...where 'getLines()' returns the array entry at 'i'. However this does nothing when I click the option control - any ideas what I'm doing wrong?
Appreciate any links/help on MSFlexGrid(not too much-want to figure this out myself!) it's a pain not having access to M$DN,
Ta!
D.
I want to import each line of a file into an msflexgrid control and then separate the fields in the file according to whether it is tab/comma delimited. I have assigned each line in the file to an array entry 'lines(i)' and in the 'optComma_Click()' sub I have,
for i=1 to linecount
MSFlexgrid1.AddRows getLines(i)
next
...where 'getLines()' returns the array entry at 'i'. However this does nothing when I click the option control - any ideas what I'm doing wrong?
Appreciate any links/help on MSFlexGrid(not too much-want to figure this out myself!) it's a pain not having access to M$DN,
Ta!
D.