It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

VbModal not working

Moderator: dafunkymunky

VbModal not working

Postby skindia on Thu Aug 14, 2008 1:51 pm

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
skindia
 
Posts: 0
Joined: Thu Aug 14, 2008 1:47 pm

Who is online

Users browsing this forum: No registered users and 4 guests