Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hey guys

I try to explain my problem:

I have a main form named frmMain, and other forms named frmOne and frmTwo.
The form frmMain opens frmOne. FrmOne opens frmTwo.
What I would like to have: when frmOne opens frmTwo, I should not be able to click on the form frmOne (so I have to open this form frmTwo modal) but I should be able to click on the form frmMain.

Please do only post helpful solutions, I am sick of all these questions like "why do you work with vb6?" or "have you asked google?" and so on...Thank you.


v_tigra
Posted
Updated 9-Jul-22 18:14pm

1 solution

"I am sick of all these questions like "why do you work with vb6?" or "have you asked google?" and so on...Thank you."

Well, perhaps if you had followed their advice and tried using Google you wouldn;t be sick of them: it took me one very, very simple Google to find the information you want: "open a modal form VB6"[^]

It's pretty easy to find form there: the fourth link explains everything you need to know and shows you how to do it: http://visualbasic.freetutes.com/learn-vb6/lesson14.html[^]

So stop getting annoyed when people tell you to use Google: it's a valuable research tool, but if you don't bother to use it, or learn how to use it effectively, you are going to waste a lot of your time (and other peoples) trying to get answers you could have found in seconds...
 
Share this answer
 
Comments
v_tigra 20-Sep-14 2:35am    
yeah.. I would not ask if I would have found a solution in google... but thanks, that's not what I was looking for.. just read the question again please

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900