How to hault or freeze parent form when a 2d form is open in vb6

We need to control that when a secondary form (form2) is opened from within the main form windows (form1), the user cannot close form1.  How can we do that in vb6?
Who is Participating?
Martin LissConnect With a Mentor Older than dirtCommented:
Open form2 this way. vbModal
rayluvsAuthor Commented:
Martin LissOlder than dirtCommented:
You're welcome and I'm glad I was able to help.

If you expand the “Full Biography” section of my profile you'll find links to some articles I've written that may interest you.

Marty - Microsoft MVP 2009 to 2016
              Experts Exchange MVE 2015
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2015
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.