Side by side install of different versions of ocx

Is it possible to have 2 different versions of the ocx installed in the same computer? I developed a winforms application in VS 2017 using version 4.9. Now, after installing the latest ocx version (5.1), the project will not compile.

However, I am planning to create a new winforms project and I would like to use the newer ocx version.

So for the new projects from now on, I would like to use the latest ocx version but still have the ability to use the older version (4.9) when opening projects created earlier.

I apologize if a topic similar to this has already been posted.

Thanks.

Hello @RaffyM

Yes, it can be done. It is called Isolated COM. Here is a posting regarding this. Let us know if you need more detail.

Regards,
Jerry.