A component developed in C# is used by application written in VB 2005. The component includes a field for data entry of numeric values, the field becomes active for data entry upon a mouse (touch-screen) click.
When the component's data entry begins I want to activate a virtual keyboard on the screen for data entry. At end of data entry (after ENTER or ESC) I want to hide the virtual keyboard. The VB application is used in industrial environment, running on touch-screen computer without physical keyboard or mouse. The VB application includes all the necessary functions to show and hide the virtual keyboard.
How can my C# component activate such functions in the parent form?
It is possible to raise events from the C# components and let the VB code handle the keyboard upon the events, but I prefer to simplify the VB code and handle the keyboard directly by the C# component.
Any idea how to do it?
Thanks for the help.