visual studio 2010 - Can we read dbisam .dat files through vb.net -
i using 3rd party account software uses dbisam database , have tables .dat extension.
is there way read dbisam tables in vb.net?
i getting quite difficult read dbisam in visual basic, there guide of tip available, please provide input.
here code tried nothing working
dim contents new stringbuilder() dim enc encoding = new asciiencoding()
'fldatfile source of .dat file using fstream filestream = new filestream(fldatfile, filemode.open, fileaccess.read) ' maximum bytes read. dim toread int32 = 1024000 ' 1kb ' buffer read bytes. dim buffer(toread - 1) byte ' number of bytes have been read. dim read int32 = fstream.read(buffer, 0, toread) ' while there data has been read while read > 0 ' string byte array. msgbox(enc.getstring(buffer, 0, read)) ' read next batch of data buffer. read = fstream.read(buffer, 0, toread) loop fstream.close() end using
Comments
Post a Comment