Results 1 to 6 of 6

Thread: Running VB6 desktop app in windows 2016/2019 Terminal server or in Cloud

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2021
    Posts
    1

    Running VB6 desktop app in windows 2016/2019 Terminal server or in Cloud

    Hi Team,

    We have a very old VB6 monolith app that is serving business-critical functions, and it uses a few older controls for grid (drop down inside a grid for example) function and other things. We currently run this, thick client, VB6 app inside a 2003 Terminal server, from which over 50 users are consuming the app by connecting to RDP from their desktop and launching the app in remote desktop and use it.

    While we are looking into migrating this beast to VB.Net or C#, it's a couple of years' worth of a project for two developers.

    The application won't work on Windows server latest versions to host in Terminal server mode due to dependencies. We already tried compatibility mode.

    Is there a way to run VB6 code in the cloud, like Azure VMs - or on latest version of Windows servers (on terminal server) ?

    Thanks for your time and help on this matter.

    Sam

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    22,723

    Re: Running VB6 desktop app in windows 2016/2019 Terminal server or in Cloud

    Quote Originally Posted by Sammy72 View Post
    The application won't work on Windows server latest versions to host in Terminal server mode due to dependencies.
    I'm not sure what that's supposed to mean. If you have a properly authored installation package "dependencies" should not be a problem. Old style PDW packages require special considerations, see MS KB Q194776.

    On the other hand most programs, VB or not, require some special care to work properly in a multiuser environment like Terminal Services. For instance, they should store any temporary files in the user (profile) based location, update registry entries in the HKEY_CURRENT_USER (not HKEY_LOCAL_MACHINE) section, etc. There were also several MS KB articles on VB6 and Terminal Services, but they can be hard to track down at this late date.

  3. #3
    Fanatic Member TTn's Avatar
    Join Date
    Jul 2004
    Posts
    658

    Re: Running VB6 desktop app in windows 2016/2019 Terminal server or in Cloud

    Quote Originally Posted by Sammy72 View Post
    Hi Team,

    We have a very old VB6 monolith app that is serving business-critical functions, and it uses a few older controls for grid (drop down inside a grid for example) function and other things. We currently run this, thick client, VB6 app inside a 2003 Terminal server, from which over 50 users are consuming the app by connecting to RDP from their desktop and launching the app in remote desktop and use it.

    While we are looking into migrating this beast to VB.Net or C#, it's a couple of years' worth of a project for two developers.

    The application won't work on Windows server latest versions to host in Terminal server mode due to dependencies. We already tried compatibility mode.

    Is there a way to run VB6 code in the cloud, like Azure VMs - or on latest version of Windows servers (on terminal server) ?

    Thanks for your time and help on this matter.

    Sam
    It's probably possible to write a wrapper for that. Can anyone find an older version of Microsoft Azure Tools 2008/2010 for me to test? How much is technology worth do you think?

  4. #4
    Hyperactive Member
    Join Date
    Aug 2020
    Posts
    447

    Re: Running VB6 desktop app in windows 2016/2019 Terminal server or in Cloud

    Quote Originally Posted by Sammy72 View Post
    While we are looking into migrating this beast to VB.Net or C#, it's a couple of years' worth of a project for two developers.
    IMO, if you use VB6 (new components and new architecture) to rewrite your old VB6 monolithic app, you can completely (almost 100%) realize all the features/effects of VB.Net/C# app, and it will only take 3-6 months, up to 1 year.

    In other words, the time required to rewrite using VB6 will be only one-fifth, or even one-tenth, of VB.Net/C#.
    Last edited by SearchingDataOnly; Jul 1st, 2021 at 08:23 PM.

  5. #5
    Frenzied Member
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    1,085

    Re: Running VB6 desktop app in windows 2016/2019 Terminal server or in Cloud

    - and with VB6 you could potentially take advantage of the new developments in TwinBasic/ RadBasic meaning future potential multiplatform capabilities and protecting your code from future obsolescence with minimal development changes (I know I am counting my chickens well in advance here... but it is worth taking into account)

    Let's not start an argument here (we can always create a new thread for that), let's just put out the possibilities as we see them. I completely agree that C# is the best place to continue new development but it must be understood that it really will be a whole new app. and as a result it will cost a lot of development time/money writing from scratch.

    I for one am keeping an eye out for advances in TB/RB and I see those as serious contenders and potential platforms for new development.

  6. #6
    Member
    Join Date
    Nov 2020
    Posts
    48

    Re: Running VB6 desktop app in windows 2016/2019 Terminal server or in Cloud

    Quote Originally Posted by Sammy72 View Post
    The application won't work on Windows server latest versions to host in Terminal server mode due to dependencies. We already tried compatibility mode.
    At the time, we integrated the TS licenses with those of a CITRIX server.
    https://www.citrix.com/products/citr...-and-desktops/


    The applications in VB6 run peerfectly as XenApp without the need to modify anything, except the profile management (each user has his own profile, permissions, access to files, etc ...) but it is not much.
    We have users who connect from all over the world, at any time without any problems. Citrix is a stable and reliable technology, easy to manage administratively: publish and update the application, manage user permissions in AD, access, and so on. The cost is slightly high, but it's worth it.

    Eventually you could also take a look at Thinfinity VirtualUI
    https://www.cybelesoft.com/thinfinity/virtualui/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width