hi i am new to visual basic and i am using vb6, i have senior year project for invenotry managment system..my problem is that if one form is open then the user must not b able to peform other functions(open another form, close application etc) unless the current form is get closed please help me in this

show your form like this example..

Form1.Show vbModal

if you put vbModal when showing a form, this will prevent the user for clicking other form unless the form1 is close...

thanks for your help; but when i used vbModal debug gives error that object not found vbModal any suggestions??

my problem is solved by using vbModal actually the problem is in the installation of VB6 i have re-install it now the problem is solved, because in first attempt vb6 was installed with some errors. thanks for all of your help.

This question has already been answered. Start a new discussion instead.