Running Programs-showing 2 names of an application

G

Guest

Hi,
In my vb.net ppc application, there are 10-12 forms. I have provided
buttons to go to all other forms from Form1. So, for example, when i want to
go to Form2, using the form2.show method, i am displaying the second form. I
am not hiding the Main form(form1). So always the main form will be working
in the background.
After closing the second form, the first form automatically gets displayed,
since i am not hiding it.
Suppose I have opened the second form. So in the Memory-->Running
Programs List, two applicaions with the same name are displayed.(becuase of
the two opened forms). Is it a standard way?
Otherwise i have to hide/visible the main form each and every time.

Is there any problem in displaying two names in the running programs' list?

Please reply,

Regards,
Hari
 
P

Pete Vickers [MVP]

Hi,
only problem would come if the user tried to switch between them. This has
been answered a few times - to get around it, set the text of the form you
don't wish to show in running programs to an empty string. That way only the
form you wish to show will show up

Pete
 
G

Guest

Dear Pete,

Thanks for your answer. It worked well and now I am trying to do the same
with various other forms also.

But actually I wish to know the relation between the text property of a form
and the program name listed in the Running Programs List. Why the Running
Program List is not showing the Form Name eventhough the text of the form is
empty?

Thanks & Regards,
Hari
 
P

Pete Vickers [MVP]

Hi,
you need the form.text of 1 form to show in the running programs. What I was
suggesting was that all the forms except the one you are currently
interested in should be set to "". The form you are interested in should
keep its .text property

Pete

--
Pete Vickers
Microsoft .NET Compact Framework MVP
HP Business Partner
http://www.gui-innovations.com
 
G

Guest

Dear Cardoso,

Thanks for your timely help. I have downloaded the contents from the
microsoft link.
Also read the article "Bad, Wicked Dialogs".

Regards,
Hari
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top