C# Generation in VBUC
The Visual Basic Upgrade Companion converts VB6 source code projects to either C# or VB.NET with the same automation ratio and code quality. Upgrading to C# represents a larger technological challenge because of its differences compared with VB.NET.
After years of experience performing successful migrations to C#, the VBUC has been improved with thousands of transformation rules to guarantee that the generated source code will have the best quality possible regardless of its target language.
Upgrading your VB6 source code to C# using the Visual Basic Upgrade Companion is currently the best option available in the market because of the following reasons:
- Thousands of companies (including F100 companies) have selected the VBUC to migrate their applications to the .NET platform.
- With thousands of successful VB6-to-C# migration projects, our specialists have gathered all the know-how and experience to create the world’s best migration tool.
- All the special transformation rules and techniques are applied during the automated migration stage to save time and money when upgrading to C#.
- All the technical considerations performed by the tool:
- Declarations and typing: Handles explicit declarations, typing and coercions, based on C# strict typing.
- Events declaration and invocation: Event handlers are declared as simple methods and then associated to the events.
- Error handling: recognizes a vast set of “On Error” coding patterns and transforms them into “Try-Catch” blocks.
- Modules to classes: The VBUC converts VB6 modules, and their member references, to C# classes with static members.
- Parameters passing analysis: Appropriate C# parameter declarations, possibly using the optional, by-ref, out modifiers and proper default values.
- Lower bounds correction: Default VB6 array and collections lower bound adjustments to 0 indexing
- Array dims and redims: Convert VB6 arrays to appropriate .NET Array instances.
- Default instances: Default instance adjustments for forms, classes and user controls.
- Indexer properties: VB6 indexer properties converted to the .NET equivalent.
- “With” block removal: Full-qualified names are used for the “with block” variables.
- “Return” statements: VBUC transforms the function name assignments contained in the functions into return statements.
- Case sensitive corrections
- Brackets generation for array access
- Variable initialization
Let us help you move to .NET
Call us today at 1-425-609-8458 or email us at firstname.lastname@example.org