I have had to move to Visual Studio.NET Pro. from Visual Basic 4.0 and am now starting to re-write our code. I was a bit surprised to find that Visual Basic.NET no longer supports fixed length strings, which is a pain as we use our own database format with specific, user-defined data types and random access files. An example module content would be
Option Explici
Type Record
Operation As String * 4
unit As String * 2
Marker1 As String *
Size As Intege
Material As String * 1
Massaverage As Doubl
Trippage As Intege
ProductionTotal As Doubl
country As String *
region As String * 1
Year As Intege
End Typ
Type Record
a(1 To 10) As String * 4
m(1 To 10) As Doubl
e(1 To 10, 1 To 3) As Doubl
l(1 To 10) As Intege
End Typ
I would very much appreciate any tips on how I can recode the above data types so that Visual Basic.NET can read existing data files created using these data types
Many thanks in advance for any replies.