Jump to content
Rohit

VB6 Migration to C#(VS2015)

Recommended Posts

Rohit    0

Hi,

I am using the trial version of VBUC for VB6 to C# migration project on VS2015. In my VB6 application I was using 'Microsoft.visualBasic' dll as external reference. While Migrating to C# these DLLs(Microsoft.visualbasic/Microsoft.VisualBasic.Compatibility) being added in reference folder as reference and their methods is being used. 

But I don't want to  use or refer any legacy code (VB6 code). I want to convert everything into native C#. So for few methods I am able to get the equivalent function in C#(e.g ConvertToString/ FileStream etc ) but for few VB6 method I am not able to get the equivalent in C#. 

Can we create C# class for these VB DLLs.

kindly suggest.

Thanks & Regards,

Rohit Srivastava

 

 

 

Edited by Rohit

Share this post


Link to post
Share on other sites

Hi,

Could you please indicate which methods you don't want to be used via the Microsoft.VisualBasic.Compatibility assembly?

Regards,

Olman Quesada

Share this post


Link to post
Share on other sites

Hi Rohit,

 

In general, the VBUC try to use .Net native libraries, but there are some cases we need to use those compatibility libraries because there isn't a straightforward .Net approach.

You can modify any portion of the generated code (C$ or VB.Net), including the helpers.

 

Cheers,

 

Olman Q

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×