Jump to content

VB6 Migration to C#(VS2015)


Rohit
 Share

Recommended Posts

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
Link to comment
Share on other sites

  • Mobilize.Net Staff

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use