database - Handling tables in text files with VB6 -
i want make vb6 executable can handle text file (or more) have following format.
x1 field | y1 field | z1 field \n x2 field | y2 field | z2 field \n ....\n ....\n xn field | yn field | zn field.
it look's table db or csv file , make vb6 program can search, edit , add these fields. there library or framework in vb6 me?
a disconnected database.
sub randomise randomize set rs = createobject("adodb.recordset") rs .fields.append "randomnumber", 4 .fields.append "txt", 201, 5000 .open until inp.atendofstream .addnew .fields("randomnumber").value = rnd() * 10000 .fields("txt").value = inp.readline .update loop .sort = "randomnumber" while not .eof outp.writeline .fields("txt").value .movenext loop end end sub
Comments
Post a Comment