Pragmas and the Convert-Test-Fix cycle is one of the most
innovative features of our conversion tool. The ability to reduce the number of
compile and runtime errors at each iteration through VB Migration Partner is essential
in migrating complex, real-world applications.
Last weekend I prepared a video on this topic, both in Italian
and in English. The two versions are basically identical and show how you can
go apply the Convert-Test-Fix cycle to convert a real VB6 application, which
you can download from our code samples
page or directly from its
original URL. Among the other techniques, the video shows how you can use a
single PostProcess
pragma to get rid of statements that reference DataReport objects (which VB
Migration Partner doesn’t support) and how you can detect and solve runtime exceptions
caused by auto-instancing variables.