Click here to Skip to main content
16,005,209 members
Home / Discussions / C#
   

C#

 
AnswerRe: VB6 to C# conversion SetIndex issue Pin
Luc Pattyn17-Sep-09 4:28
sitebuilderLuc Pattyn17-Sep-09 4:28 
GeneralRe: VB6 to C# conversion SetIndex issue [modified] Pin
N a v a n e e t h17-Sep-09 5:33
N a v a n e e t h17-Sep-09 5:33 
GeneralRe: VB6 to C# conversion SetIndex issue Pin
Luc Pattyn17-Sep-09 5:38
sitebuilderLuc Pattyn17-Sep-09 5:38 
GeneralRe: VB6 to C# conversion SetIndex issue Pin
xtr33me17-Sep-09 5:44
xtr33me17-Sep-09 5:44 
GeneralRe: VB6 to C# conversion SetIndex issue Pin
N a v a n e e t h17-Sep-09 5:45
N a v a n e e t h17-Sep-09 5:45 
Questionpremature garbage collection of static class causing problem Pin
akhanal17-Sep-09 4:05
akhanal17-Sep-09 4:05 
AnswerRe: premature garbage collection of static class causing problem Pin
Luc Pattyn17-Sep-09 4:19
sitebuilderLuc Pattyn17-Sep-09 4:19 
GeneralRe: premature garbage collection of static class causing problem Pin
akhanal17-Sep-09 4:31
akhanal17-Sep-09 4:31 
Yes that was my guess too, the serverClass.Start(), takes a variable serverID so it is actually serverClass.Start(serverID); so I defined this variable in the serverClass as public and I use it in the functions as serverClass.Start(serverClass.serverID); and just to verify I tried printing this variable right before the line of error and it prints fine. As a matter of fact I tried accessing another function of serverClass from this position too, this function just reads some data that does not have anything thing to do with server creation or destruction and it works fine too.

But the combination; serverClass.Stop(serverclass.serverID); is problematic.

If the serverID is ok and serverClass.anotherFunction() is ok then what might be the issue???
GeneralRe: premature garbage collection of static class causing problem Pin
Luc Pattyn17-Sep-09 4:57
sitebuilderLuc Pattyn17-Sep-09 4:57 
GeneralRe: premature garbage collection of static class causing problem Pin
akhanal17-Sep-09 5:18
akhanal17-Sep-09 5:18 
GeneralRe: premature garbage collection of static class causing problem Pin
akhanal17-Sep-09 5:25
akhanal17-Sep-09 5:25 
QuestionError in Loading assembly from Assembly.Load Pin
SRKSHOME17-Sep-09 3:31
SRKSHOME17-Sep-09 3:31 
AnswerRe: Error in Loading assembly from Assembly.Load Pin
Not Active17-Sep-09 4:19
mentorNot Active17-Sep-09 4:19 
AnswerRe: Error in Loading assembly from Assembly.Load Pin
Luc Pattyn17-Sep-09 4:20
sitebuilderLuc Pattyn17-Sep-09 4:20 
QuestionCalling GUI & path finding gurus Pin
izakfick17-Sep-09 3:27
izakfick17-Sep-09 3:27 
AnswerRe: Calling GUI & path finding gurus Pin
Pete O'Hanlon17-Sep-09 4:11
mvePete O'Hanlon17-Sep-09 4:11 
QuestionAllow space in text box - add the code for allowing spaces in regular expression validator Pin
coolsharath17-Sep-09 3:21
coolsharath17-Sep-09 3:21 
AnswerRe: Allow space in text box - add the code for allowing spaces in regular expression validator Pin
Calla17-Sep-09 3:40
Calla17-Sep-09 3:40 
GeneralRe: Allow space in text box - add the code for allowing spaces in regular expression validator Pin
coolsharath17-Sep-09 3:51
coolsharath17-Sep-09 3:51 
GeneralRe: Allow space in text box - add the code for allowing spaces in regular expression validator Pin
coolsharath17-Sep-09 4:06
coolsharath17-Sep-09 4:06 
GeneralRe: Allow space in text box - add the code for allowing spaces in regular expression validator Pin
Calla17-Sep-09 4:20
Calla17-Sep-09 4:20 
GeneralRe: Allow space in text box - add the code for allowing spaces in regular expression validator Pin
coolsharath17-Sep-09 4:26
coolsharath17-Sep-09 4:26 
GeneralRe: Allow space in text box - add the code for allowing spaces in regular expression validator Pin
OriginalGriff17-Sep-09 4:36
mveOriginalGriff17-Sep-09 4:36 
Questionhow one can programatically send keystroke, mouse move, mouse click Pin
Tridip Bhattacharjee17-Sep-09 2:18
professionalTridip Bhattacharjee17-Sep-09 2:18 
Questionhow to see datagrid print printpriview in c# windows. Pin
Ramesh Reddy1111117-Sep-09 2:17
Ramesh Reddy1111117-Sep-09 2:17 

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.