none
Visual Studio 2015 Pro - Visual Basic Performance

    Question

  • Recently installed Visual Studio 2015 Pro on Windows 10.

    Tested the relative compute performance of 5000 line math compute intensive application on Visual Studio 2015 Pro - Visual Basic

    and/with VB6 which still compiled and ran on Windows 10.  The VS 2015 - VB version is 7.5 time slower than the VB6 version.

    I need to achieve equal performance or abandon/return the product.

     

    Monday, July 25, 2016 9:51 PM

Answers

  • Hi Greg Yorke,

    VB6 and VB.NET are based on different platform, it is hard to achieve an equal performance for them. If you want to improve the performance for them, I suggest we'd better make an optimized algorithm.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, July 27, 2016 2:04 AM
    Moderator
  • VB.Net and VB6 are different languages. VB.Net is closer to C# than it is to VB6.

    If you have just converted an existing VB6 program, either entirely manually or with a migration wizard, it is likely to be slower than VB6.

    If you are looking for speed, try rewriting in C++, that should be slightly faster than VB6.

    Otherwise spend a lot of time and effort improving your code, you may then get closer to VB6's performance. Often it isn't worth the effort, but fortunately the VB6 programming language runs on Windows 10 and  Microsoft support VB6 until at least 2025.


    Microsoft VB6 programming support statement: https://msdn.microsoft.com/en-us/vstudio/ms788708.aspx

    Saturday, July 30, 2016 11:10 PM

All replies

  • You need to look around at C#, C++ etc to find something faster.

    I wrote a CAD program in C# but found later C++ was about 10 times faster.

    Monday, July 25, 2016 11:39 PM
  • Hi Greg Yorke,

    VB6 and VB.NET are based on different platform, it is hard to achieve an equal performance for them. If you want to improve the performance for them, I suggest we'd better make an optimized algorithm.

    Best Regards,

    Jack


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, July 27, 2016 2:04 AM
    Moderator
  • VB.Net and VB6 are different languages. VB.Net is closer to C# than it is to VB6.

    If you have just converted an existing VB6 program, either entirely manually or with a migration wizard, it is likely to be slower than VB6.

    If you are looking for speed, try rewriting in C++, that should be slightly faster than VB6.

    Otherwise spend a lot of time and effort improving your code, you may then get closer to VB6's performance. Often it isn't worth the effort, but fortunately the VB6 programming language runs on Windows 10 and  Microsoft support VB6 until at least 2025.


    Microsoft VB6 programming support statement: https://msdn.microsoft.com/en-us/vstudio/ms788708.aspx

    Saturday, July 30, 2016 11:10 PM