I have a VB 6 application and we are starting to port it over to C#. We have finished one of the screens and wanted to see if there was an incremental way of hosting the winform within VB to start to have the existing users get used to new screens. This is a migration strategy..
Any thoughts.
You just need to press a combination of Host key and C on your keyboard (Host Key + C). You might be wondering about the Host Key. A host key in VirtualBox is a dedicated key that returns the ownership of peripheral devices (Keyboard & Mouse) to the host operating system.
The default Host key is the Right Ctrl key. Note. Some of the available Host Key options might not work on your computer. If the configured Host key does not work, use an alternative Host key.
To return ownership of keyboard and mouse to your host OS, Oracle VM VirtualBox reserves a special key on your keyboard: the Host key. By default, this is the right Ctrl key on your keyboard.
Go to the File menu and activate Environment setting or, in more recent versions, Preferences. Select Display and change the setting for Maximum guest screen size to “hint” which allows you to set an arbitrary size for both width and height (e. g. 1920 and 1200). Reboot the virtual machine and enjoy it.
The Interop Forms Toolkit allows you to create .NET Forms and User Controls that can be used in VB 6.0 applications. This allows you to migrate VB 6.0 applications to .NET over time (a form or part of a form at a time). However, the toolkit relies on features from the Microsoft.VisualBasic assembly and the VB.NET compiler so it doesn't work with C#.
There are a couple articles/samples on CodeProject.com that discuss the toolkit and how to use it with C#.
Interop Forms Toolkit 2.0 Tutorial
VB6 - C# Interop Form Toolkit
Beth Massi has several articles and webcasts on the use of the Toolkit you can use for reference. Check out her blog for links to resources.
Have you looked at this? Direct Link to Product here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With