Ok I know you lot will think this is a retarded question but how I go about reading in an old VB6 format random file?
The original type used was as follows
Now I know about these ones:Code:Type MainDB Artist As String * 50 SongTitle As String * 50 Category As String * 30 TrackID As String * 25 SongFilename As String * 90 AlbumFilename As String * 90 DateDownloaded As Date End Type
Longs = Integers
Integers = Short
but how do I convert the fixed length strings when it isnt available? How am I supposed to read in the old file format? I tried using an array of chars but it says I cant fix length the arrays in structures. Does this mean I have to set their length at runtime and then go from there?
thanks,
A rather silly mutt![]()




Reply With Quote