Click here to Skip to main content
15,881,840 members
Home / Discussions / C#
   

C#

 
QuestionMulti-threading & Listening Sockets Pin
Guinness4Strength23-May-06 12:04
Guinness4Strength23-May-06 12:04 
AnswerRe: Multi-threading & Listening Sockets Pin
David Stone23-May-06 13:15
sitebuilderDavid Stone23-May-06 13:15 
Questionhow to write >, <, &to XML file Pin
donkaiser23-May-06 9:26
donkaiser23-May-06 9:26 
AnswerRe: how to write >, <, &to XML file Pin
donkaiser23-May-06 9:33
donkaiser23-May-06 9:33 
GeneralRe: how to write >, <, &to XML file Pin
Robin Panther23-May-06 10:44
Robin Panther23-May-06 10:44 
AnswerRe: how to write >, <, &to XML file Pin
donkaiser23-May-06 10:54
donkaiser23-May-06 10:54 
QuestionException of type 'System.Security.SecurityException' occured Pin
Patricker23-May-06 8:27
Patricker23-May-06 8:27 
AnswerRe: Exception of type 'System.Security.SecurityException' occured Pin
James Gupta23-May-06 9:21
professionalJames Gupta23-May-06 9:21 
In my experiencing, certain operations (especially those relating to files / directories) are not allowed or require extra security permissions to use in .NET.

At an educated guess:
string strAddress = pms.CheckPageUpdated(Environment.GetEnvironmentVariable("username"));

is probably causing it.

To suppress it you will need to have your application request additional permissions. This is done through the System.Security namespace, but I am unsure to the specifics of it.

Hopefully I have given you enough information to googlise Smile | :)

James

just-code-it.net
GeneralRe: Exception of type 'System.Security.SecurityException' occured Pin
Patricker23-May-06 10:07
Patricker23-May-06 10:07 
GeneralRe: Exception of type 'System.Security.SecurityException' occured Pin
leppie23-May-06 10:15
leppie23-May-06 10:15 
GeneralRe: Exception of type 'System.Security.SecurityException' occured Pin
Patricker23-May-06 10:21
Patricker23-May-06 10:21 
GeneralRe: Exception of type 'System.Security.SecurityException' occured Pin
James Gupta23-May-06 13:29
professionalJames Gupta23-May-06 13:29 
Questionwindows form sizing Pin
reshsilk23-May-06 8:27
reshsilk23-May-06 8:27 
AnswerRe: windows form sizing Pin
James Gupta23-May-06 9:23
professionalJames Gupta23-May-06 9:23 
QuestionUltraCombo in Infragistics Pin
Neel0723-May-06 8:16
Neel0723-May-06 8:16 
Questiona stupid problem about DateTime Pin
da vinci coder23-May-06 7:55
da vinci coder23-May-06 7:55 
AnswerRe: a stupid problem about DateTime Pin
Stefan Troschuetz23-May-06 8:16
Stefan Troschuetz23-May-06 8:16 
GeneralRe: a stupid problem about DateTime Pin
da vinci coder23-May-06 8:57
da vinci coder23-May-06 8:57 
Questiondatagridview Pin
kjosh23-May-06 6:58
kjosh23-May-06 6:58 
AnswerRe: datagridview Pin
mr_1234523-May-06 7:21
mr_1234523-May-06 7:21 
GeneralRe: datagridview Pin
kjosh23-May-06 10:51
kjosh23-May-06 10:51 
AnswerRe: datagridview Pin
mr_1234523-May-06 13:34
mr_1234523-May-06 13:34 
QuestionICompareable vs IComparer [modified] Pin
Rizwan Rathore23-May-06 6:36
Rizwan Rathore23-May-06 6:36 
AnswerRe: ICompareable vs IComparer [modified] Pin
Robert Rohde23-May-06 6:53
Robert Rohde23-May-06 6:53 
AnswerRe: ICompareable vs IComparer [modified] Pin
Judah Gabriel Himango23-May-06 12:06
sponsorJudah Gabriel Himango23-May-06 12:06 

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.