I'm new to c#, so please forgive me if i ask some entry level questions.
currently, I have a little windows form that have cancel button on it. I noticed that when i run it on local machine the cancel button works fine. but it gives me security exceptions when running from network location on xp machine. the exception is telling me I cannot call unmanaged code etc .... but my form only has one button and the code within eventhandler is: Application.Exit();
after googling around I found that I can make changes through mscorcfg.msc to give permission to intranet. this worked for me.
the other workaround I found is http://msdn.microsoft.com/en-us/library/aa288469(v=vs.71).aspx
however, this is a workaround for one machine only, what if I have a hundred machines????
so I assume there must be some other ways to deal with this problem, can anyone please help??