Hello
Recently I converted a VB 6 program which contained public record structures using the VB 2010 upgrade option.
There were surprisingly few syntax errors which were easily resolved. The program does however use public record
structures for storing data in external random access files. String data types got converted to char in VB 2010 and
this then led to bad record length issues. I have other native VB 2010 programs which use 'string' as the data type and
work correctly. With the converted program changing from char to string led to syntax errors. Some, but NOT all
of these errors were resolved by adding a "tostring" method.
Has anyone any ideas ?
What really puzzles me is why this only seems to be an issue with converted programs and not freshly written ones ?
Recently I converted a VB 6 program which contained public record structures using the VB 2010 upgrade option.
There were surprisingly few syntax errors which were easily resolved. The program does however use public record
structures for storing data in external random access files. String data types got converted to char in VB 2010 and
this then led to bad record length issues. I have other native VB 2010 programs which use 'string' as the data type and
work correctly. With the converted program changing from char to string led to syntax errors. Some, but NOT all
of these errors were resolved by adding a "tostring" method.
Has anyone any ideas ?
What really puzzles me is why this only seems to be an issue with converted programs and not freshly written ones ?