Conversion Options

Conversion Options
Your project is unique, and you can configure dozens of conversion options to suit the needs of your particular application. To see the conversion options available, choose "Change Conversion Options" from the main screen.

The General conversion options control program flow and miscellaneous conversion options. Be careful when changing the default options in the "Ref and Out Arguments" and "Misc" sections, as this can have a negative effect on conversion accuracy.

VB Namespace options allow you to specify which VB specific functions you want converted to their .Net equivalents. In general, you should leave all these options checked, unless a particular item is causing problems in your conversion.

The "With" options control how VB With clauses are converted. They can be converted two ways:
1) The With clause can be repeated for each reference in the with block (the first example below), or
2) Assign the With clause to a temporary variable and reference the temporary variable in the with block. This is essential if the With clause contains side effects (such as adding a record to a database as in the example below).
By default, VBConversions will use temporary variables to convert With clauses if a method is being called in the With clause or if it can't determine if a method is being called.

Copyright © 2009, VBConversions