| Author: Neetu 02 Nov 2009 | Member Level: Diamond | Rating:   Points: 3 |
Check the attachement dear.
Dont forget to rate this. regards Neetu
Messageifformopen.zip |
| Author: Danasegarane.A 02 Nov 2009 | Member Level: Diamond | Rating:  Points: 2 |
Normally you will open a window(form) like Dim frm as new Frm frm.show()
What do you need to check is that 1.Check the form is Active or not 2.If Active show the form else instance a new form
as
Private frm as new Frm 'Move this to a module If not frm is nothing Then frm.show() Else frm= new Frm frm.show() End if
Thanks and Regards, Danasegarane Arunachalam
|
| Author: Anuraj 02 Nov 2009 | Member Level: Diamond | Rating:  Points: 2 |
Hopes you are doing it with MDI, try enumerating child windows, check for a this specific one, if exits, call the Activate or Set the ActiveChild property of MDI.
Thanks Anuraj THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS. BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT. dotnetthoghts
|