Hi,
In my VB project I have created user control and there is a command button on it say CmdAdd
When I click on CmdAdd I am opening a form in Vbmodal.
Private sub CmdAdd_click()
Form1.Show vbModal
End sub
But this is not working. When Form1 is opened I can still click on the User control / focus shifts to user control.
If anyone have knowledge about this problem /solution to this problem then please help me.
It is quite urgent for me to resolve this problem so quick answer is much appreciated
Thanks in advance


