You can create .Net UserControls, which can be used in the form of VB6 / MS Access via COM, using Interrop tools or as a simple ActiveX .
This works pretty well, except for one big pain: resizing .
You cannot resize the control at runtime.
Securing control on opposite sides of the form makes it grow every time you resize the form, even if you reduce the shape ...
There seems to be no way to tame this behavior:
- From .Net, any attempt to resize UserControl code with an error fails.
- From MS Access, a user control cannot be modified using code.
Apparently, one solution could be to complete the .Net Usercontrol in VB6 user control . Unfortunately, in addition to the need to use another shell and more ad-hoc code, the VB6 environment is no longer available ...
Is there any way to solve this problem?
source
share