Click here to Skip to main content
15,918,808 members
Home / Discussions / C#
   

C#

 
GeneralTo give color to a row of datagrid Pin
HowRU24-Jun-04 22:15
HowRU24-Jun-04 22:15 
GeneralRe: To give color to a row of datagrid Pin
Heath Stewart25-Jun-04 4:31
protectorHeath Stewart25-Jun-04 4:31 
Generalc# and visual foxpro database Pin
cmarmr24-Jun-04 18:53
cmarmr24-Jun-04 18:53 
GeneralRe: c# and visual foxpro database Pin
Heath Stewart25-Jun-04 4:30
protectorHeath Stewart25-Jun-04 4:30 
GeneralDrawing Problem Pin
rog103924-Jun-04 18:47
rog103924-Jun-04 18:47 
GeneralRe: Drawing Problem Pin
Heath Stewart25-Jun-04 4:25
protectorHeath Stewart25-Jun-04 4:25 
GeneralRe: Drawing Problem Pin
Karl 200027-Jun-04 9:19
Karl 200027-Jun-04 9:19 
GeneralThe Thread Security Of It All Pin
MKlucher24-Jun-04 18:07
MKlucher24-Jun-04 18:07 
I wrote my first multi-threaded app in C# and I am having a bit of a problem. Everything works perfectly when the app is run on a users local machine. The problem comes into play when a person runs the app from our network.

I'll try to explain this as best as I can, I have a class which creates a member varible of a thread, then starts this thread. The thread goes to a member function in the same class where a new class is created and I call the "worker" member function of this new class.

This function enumerates some processes and deletes and renames a file. Basiclly when this is run from the network it hangs/crashes with a security exception when calling the new class member function. The only exception message I get back is "Request failed." that's it... I also get a secuity exception when I call Application.Exit() (Which is the last line before main() ends)

<br />
IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"<br />
             version="1"<br />
             Flags="UnmanagedCode"<br />


Strage stuff, cause none of these problems happen when working off a local copy on my HD. One interesting note, if I comment out the code in my "worker" class member function. I don't get the Request failed.

Any idea what all this is about?? Cause I am so confused!! D'Oh! | :doh:
GeneralRe: The Thread Security Of It All Pin
LongRange.Shooter25-Jun-04 2:52
LongRange.Shooter25-Jun-04 2:52 
GeneralRe: The Thread Security Of It All Pin
Heath Stewart25-Jun-04 4:03
protectorHeath Stewart25-Jun-04 4:03 
GeneralRe: The Thread Security Of It All Pin
Heath Stewart25-Jun-04 4:10
protectorHeath Stewart25-Jun-04 4:10 
GeneralRe: The Thread Security Of It All Pin
MKlucher25-Jun-04 8:02
MKlucher25-Jun-04 8:02 
GeneralRe: The Thread Security Of It All Pin
Heath Stewart25-Jun-04 8:32
protectorHeath Stewart25-Jun-04 8:32 
Questionspeed of Dataset and DataReader? Pin
jzb24-Jun-04 16:33
jzb24-Jun-04 16:33 
AnswerRe: speed of Dataset and DataReader? Pin
Colin Angus Mackay24-Jun-04 22:20
Colin Angus Mackay24-Jun-04 22:20 
Generalquestion of ImageList Pin
jzb24-Jun-04 16:28
jzb24-Jun-04 16:28 
GeneralRe: question of ImageList Pin
bneacetp24-Jun-04 21:27
bneacetp24-Jun-04 21:27 
GeneralRe: question of ImageList Pin
Dave Kreskowiak25-Jun-04 4:46
mveDave Kreskowiak25-Jun-04 4:46 
Question.NET Remoting, Client side reference server side? then how distribute? Pin
fayth24-Jun-04 16:11
fayth24-Jun-04 16:11 
AnswerRe: .NET Remoting, Client side reference server side? then how distribute? Pin
Xiangyang Liu 刘向阳24-Jun-04 16:54
Xiangyang Liu 刘向阳24-Jun-04 16:54 
GeneralRe: .NET Remoting, Client side reference server side? then how distribute? Pin
Heath Stewart25-Jun-04 3:59
protectorHeath Stewart25-Jun-04 3:59 
GeneralRe: .NET Remoting, Client side reference server side? then how distribute? Pin
Xiangyang Liu 刘向阳25-Jun-04 15:41
Xiangyang Liu 刘向阳25-Jun-04 15:41 
GeneralRe: .NET Remoting, Client side reference server side? then how distribute? Pin
Heath Stewart26-Jun-04 13:53
protectorHeath Stewart26-Jun-04 13:53 
GeneralRe: .NET Remoting, Client side reference server side? then how distribute? Pin
Xiangyang Liu 刘向阳27-Jun-04 0:28
Xiangyang Liu 刘向阳27-Jun-04 0:28 
AnswerRe: .NET Remoting, Client side reference server side? then how distribute? Pin
Allen Anderson24-Jun-04 17:10
Allen Anderson24-Jun-04 17:10 

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.