I have a Binary logfile,and i have to read it and convert it to a normal file,and use the obtain values and represent it in a Datagrid. I joint a example of my Logfile and the convert form, and hope that somebody can help me
You got to know the stucture of your file. A hexdump and some "bit puzzling" might find that out.
You could read, say 347 bytes, if that is the lenght of your "record" and drop them in a C# struct.
This can be tricky, it can depend from where you got your file if a boolean for instance is stored in 1 or 2 bytes!
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...