Tips and tricks for porting code from vb6 to.net with Visual Studio 2010

I want to transfer one application from vb6 to.net with Visual studio 2010. Currently, the application is a Windows based application. I want to make a web application. I think I need to rewrite the code in.net. could you advise me when I rewrite the code in.net.

+3
source share
3 answers

If your VB6 application consists of several COM objects with clean interfaces, you should be able to reuse those components that are not related to the user interface. You might want to take advantage of the experience of VB6 in your company to separate any user interface code from business logic. You can then reuse business logic in a web application.

+2
source

There are many tips on conversion strategies. One strategy that might work well (as John said ) is to use Interop to integrate the VB6-back-end with the .Net web interface.

Some other resources:

+2

, . . , VB6 , .

Visual Studio VB6 VB.NET, . , , VB6, .

It depends a lot on many factors, of course. You may be lucky and work with one of these rare stones: a well-structured VB6 project with a clear separation of views and code.

0
source

Source: https://habr.com/ru/post/1744091/


All Articles