Migration from VB6 to .NET on dnrTV

Migration from VB6 to .NET on dnrTV

  • Comments 7

There's still a lot of Visual Basic 6 systems running the world and if you're one of the developers maintaining those systems you may be looking at migration strategies to move to .NET. You don't have to take on a complete rewrite of your system, there are many ways of interoperating with VB6 from .NET and vice versa.

Check out Rob Windsor on dnrTV where he shows us how to interoperate with VB 6.0 applications and .NET in a variety of ways. He walks through different approaches to architecting these hybrid systems. He also shows how to use the Interop Forms Toolkit to demonstrate a phased migration strategy where you can convert VB 6 forms and controls to .NET pieces at a time.

Also take a look at these How Do I videos and articles on building and deploying interop forms and user controls.

Enjoy!

Leave a Comment
  • Please add 3 and 1 and type the answer here:
  • Post
  • PingBack from http://geeklectures.info/2008/01/02/migration-from-vb6-to-net-on-dnrtv/

  • Hello i got a problem with my VB6(Visual basic 6.0)

    The problem is then i use the component "Shockwave Flash" and use the paiper tool there coming up... the (Custom) proputie isent there what have i done wrong?

  • Oh sorry plz answer on my mail ^^ nikolaj_larsen_983@hotmail.com

  • If you are opting for a phased migration strategy using interop, this FAQ might be a good starting point, along with all the links Beth provides above: http://migrationguide.artinsoft.com/Migration-Guide-Faq-Chapter-14.aspx

  • Windows Server 2008 deployments for our company are targeted to be VB6 free.  We are slowly replacing all VB6 code and VB6 dependent applications including all third party VB6 COM components with .NET ones.  It has been quite helpful since our organization accumulated software from many sources over the last 10 years and with a soon to be enterprise wide upgrade to Windows Server 2008, we get the resources to rationalize our software and hardware infrastructure.

  • I am converting all my projects from vb6 to vb.net 2005 for last two years, as time permits.

    I did have lots of hurdle that are no more an issue, like I started to convert with the beta version and had to do a complete re-write. What everybody has to realize, if you have a complex system involving dlls and COMs. this is not at all an easy task. the conversion tools available with vb.net is really useless, unless you want to convert very simple code.

    It is a frustrating process, with very limited documentations and samples and what is really equivalent between the tow system. any graphical function needs to be re-designed, because it is conceptually different. Don't expect vb.net help anywhere close to vb6 help. You have to search for help on the internet. although it is getting easier to find help on the internet.

    All I am getting at is, first stay with your vb6 if you can, if you really want to or have to switch to the new and better technology, whatever your budget is multiply that by atleast 4.

    Thanks and goodluck

  • Hi Subrata,

    This is exactly why the Visual Basic Off-Cycle team created the Interop Forms Toolkit. In many situations it is not cost effective to convert your entire VB6 application. The toolkit allows you to write forms and controls in .NET so that you can take advantage of features there (controls, multi-threading, WCF, etc.) but still run withing your current VB6 application.

    There's also the power packs which include line and shape controls and printing libraries and controls.

    You can get them here: http://msdn2.microsoft.com/en-us/vbasic/aa701257.aspx

    HTH,

    -B

Page 1 of 1 (7 items)