Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Process.Start starts 2 processes
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01102735
Message ID:
01102755
Vues:
16
It appears that there were several things that went wrong. First of all I had two FormClosing event handlers (one called Closing that was carried over from 1.1 and also FormClosing that was added later in 2.0) Once I removed one of them I noticed that Application.Exit() (which was in the FormClosing eventhandler code) triggers the FormClosing eventhandler and caused the code to run twice. I think the problem is solved.

Einar
>Einar,
>
>I would put a break in the event handler and see if it getting fired twice (and from where). I've never seen Process.Start launch two instances of a process.
>
>HTH,
>Chad
>
>
>>I see the same behavior in both FormClosing and FormClosed, but I only have the code in one of the event handlers. Currently I have the code in the FormClosing event handler.
>>
>>Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform