One entry in 'Running Programs'

P

Pankaj S

Hi,

I have created one application with main form as splash screen and after
doing some initial work, I shows another form, but tasks utility 'Running
programs' shows 2 instances of my application, one is splash screen and
other is newly created form. Also If I popup one form using show then
'Running programs' shows 3 instances.

I cannot hide the splash screen as it hide the whole application even if I
call show for the new form. Does anyone faced the same problem? What's the
solution for this?

Thanks in advance,
Pankaj
 
H

Hiroaki SHIBUKI

Hi,
programs' shows 2 instances of my application, one is splash screen and

I think you'd better to close splash screen.

static void Main()
{
Application.Run (SplashForm);
Application.Run (MainForm);
}

class SplashForm
{
private void Form1_Load(object sender, System.EventArgs e)
{
// do something for init.

this.Close();
}
other is newly created form. Also If I popup one form using show then
'Running programs' shows 3 instances.

Try to configure property of 3rd form which named likes 'show in taskbar'.
 
G

Geoff Schwab [MSFT]

Hi,

I suppose it depends on how you are creating and displaying the splash
screen (separate thread, etc.) but have you tried setting all but one form's
text to ""?

7.34. How do I suppress Form titles from showing in the active applications
list?
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx#7.34

--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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