Click here to Skip to main content
15,890,506 members
Home / Discussions / C#
   

C#

 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Dimitris Iliopoulos22-May-04 0:10
Dimitris Iliopoulos22-May-04 0:10 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Heath Stewart22-May-04 2:47
protectorHeath Stewart22-May-04 2:47 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Heath Stewart22-May-04 3:38
protectorHeath Stewart22-May-04 3:38 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Dimitris Iliopoulos23-May-04 3:46
Dimitris Iliopoulos23-May-04 3:46 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Heath Stewart23-May-04 3:49
protectorHeath Stewart23-May-04 3:49 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Parrish23-May-04 7:17
Parrish23-May-04 7:17 
GeneralRe: Test and label fields misalign on windows 2000 Pin
Heath Stewart23-May-04 7:43
protectorHeath Stewart23-May-04 7:43 
Generalabout one Process, multi AppDomain Design Pin
pig123421-May-04 14:52
pig123421-May-04 14:52 
Confused | :confused: Hi all,
I designed one process, multi appdomain system.
One process is Main.exe.
Multi AppDomain execute assembly(A.exe, B.exe, C.exe ...)
ex >
Thread newThread = new Thread(new ThreadStart(OpenSystem));
newThread.ApartmentState = ApartmentState.STA;
newThread.Name = currentSystemID;
newThread.Start();
private void OpenSystem()
{
try
{
AppDomain domain = AppDomain.CreateDomain(currentSystemID);
//According To Current SystemsID A.exe, B.exe, C.exe Run
domain.ExecuteAssembly(asmName, null, args);
AppDomain.Unload(domain);
}
catch(Exception e)
{
Debug.WriteLine("OpenSystemError=" + e.Message);
}
}
However,
When error occurred in A.exe, .Net Framework showed MessageBox.
when i pressed close button in MessageBox, Main.exe process killed.
I think .Net Framework kills Process.
I want to stop only A.exe AppDomain, when error occurs in A.exe.

Is there good way to do that?







GeneralRe: about one Process, multi AppDomain Design Pin
Heath Stewart22-May-04 2:45
protectorHeath Stewart22-May-04 2:45 
GeneralPrinting a .pdf Pin
TigerNinja_21-May-04 11:55
TigerNinja_21-May-04 11:55 
GeneralRe: Printing a .pdf Pin
Dave Kreskowiak21-May-04 12:24
mveDave Kreskowiak21-May-04 12:24 
GeneralVolume Control Pin
kratchkov21-May-04 10:15
kratchkov21-May-04 10:15 
QuestionHow Can I Unload an Assembly? Pin
goodpilot21-May-04 10:15
goodpilot21-May-04 10:15 
AnswerRe: How Can I Unload an Assembly? Pin
Heath Stewart21-May-04 10:49
protectorHeath Stewart21-May-04 10:49 
AnswerRe: How Can I Unload an Assembly? Pin
Marc Clifton22-May-04 14:58
mvaMarc Clifton22-May-04 14:58 
GeneralRe: How Can I Unload an Assembly? Pin
goodpilot26-May-04 3:17
goodpilot26-May-04 3:17 
GeneralOverloading Pin
Gary Kirkham21-May-04 9:39
Gary Kirkham21-May-04 9:39 
GeneralRe: Overloading Pin
Heath Stewart21-May-04 9:56
protectorHeath Stewart21-May-04 9:56 
GeneralRe: Overloading Pin
Gary Kirkham21-May-04 10:07
Gary Kirkham21-May-04 10:07 
GeneralRe: Overloading Pin
Heath Stewart21-May-04 10:12
protectorHeath Stewart21-May-04 10:12 
GeneralRe: Overloading Pin
Dave Kreskowiak21-May-04 9:56
mveDave Kreskowiak21-May-04 9:56 
GeneralRe: Overloading Pin
Curi0us_George21-May-04 19:55
Curi0us_George21-May-04 19:55 
GeneralRe: Overloading Pin
Gary Kirkham24-May-04 5:09
Gary Kirkham24-May-04 5:09 
GeneralRe: Overloading Pin
Curi0us_George24-May-04 9:16
Curi0us_George24-May-04 9:16 
GeneralReflection Pin
SirMorrisBig21-May-04 9:31
SirMorrisBig21-May-04 9:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.