Click here to Skip to main content
15,916,398 members
Home / Discussions / C#
   

C#

 
GeneralDesigning Class Library with Namespaces Pin
Seraphin18-Apr-05 8:47
Seraphin18-Apr-05 8:47 
GeneralRe: Designing Class Library with Namespaces Pin
Alex Korchemniy18-Apr-05 9:08
Alex Korchemniy18-Apr-05 9:08 
GeneralImport of CSV via ODBC issue Pin
RB@Emphasys18-Apr-05 8:42
RB@Emphasys18-Apr-05 8:42 
GeneralDeleting a line from a text file Pin
Member 75626018-Apr-05 8:34
Member 75626018-Apr-05 8:34 
GeneralRe: Deleting a line from a text file Pin
Luis Alonso Ramos18-Apr-05 8:46
Luis Alonso Ramos18-Apr-05 8:46 
GeneralProblem DLLImport and events Pin
thaukko18-Apr-05 5:01
thaukko18-Apr-05 5:01 
GeneralRestarting a service Pin
Mauricio Ritter18-Apr-05 4:38
Mauricio Ritter18-Apr-05 4:38 
GeneralRe: Restarting a service Pin
Dave Kreskowiak18-Apr-05 5:24
mveDave Kreskowiak18-Apr-05 5:24 
No you can't. A service doesn't "restart", but first "stops" then "starts". This will kill your service, but it won't start back up again because your code has been stopped.

A MUCH better method would be to find out why your code is leaking and fix it, instead of taking the "lazy" way out and ignoring it. 99% of the time, you're not releasing unmanaged resources, by calling .Dispose on your objects or because you forgot to call an unmanged function of your component that tells it to released its unmanaged resources. Either that, or you're using a buggy, unmanaged components.

The garbage collector will collect and free managed resources only. It can't do anything about unmanaged resources allocated by unmanaged components, even if those components are wrapped in managed code.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Restarting a service Pin
Mauricio Ritter18-Apr-05 6:38
Mauricio Ritter18-Apr-05 6:38 
GeneralRe: Restarting a service Pin
Dave Kreskowiak18-Apr-05 7:33
mveDave Kreskowiak18-Apr-05 7:33 
GeneralRe: Restarting a service Pin
Alex Korchemniy18-Apr-05 9:05
Alex Korchemniy18-Apr-05 9:05 
QuestionHow to handle Scroll Bar events for word in c#? Pin
18-Apr-05 3:56
suss18-Apr-05 3:56 
GeneralReadFile, Accept methods in C#.net Pin
Babarsaeed18-Apr-05 3:39
Babarsaeed18-Apr-05 3:39 
GeneralHelp--Drag Drop Event Sometimes not work and Some times it works Pin
M Umair tariq18-Apr-05 1:59
M Umair tariq18-Apr-05 1:59 
Generalrdl in c# Pin
tvprithiv18-Apr-05 1:51
tvprithiv18-Apr-05 1:51 
GeneralRe: rdl in c# Pin
leppie18-Apr-05 3:37
leppie18-Apr-05 3:37 
QuestionHow to Ping? Pin
Alper Camel18-Apr-05 1:31
Alper Camel18-Apr-05 1:31 
AnswerRe: How to Ping? Pin
Colin Angus Mackay18-Apr-05 1:38
Colin Angus Mackay18-Apr-05 1:38 
GeneralRe: How to Ping? Pin
Alper Camel18-Apr-05 1:44
Alper Camel18-Apr-05 1:44 
GeneralRe: How to Ping? Pin
Dave Kreskowiak18-Apr-05 4:57
mveDave Kreskowiak18-Apr-05 4:57 
GeneralRe: How to Ping? Pin
Anonymous18-Apr-05 21:14
Anonymous18-Apr-05 21:14 
GeneralRe: How to Ping? Pin
Dave Kreskowiak19-Apr-05 2:21
mveDave Kreskowiak19-Apr-05 2:21 
GeneralRe: How to Ping? Pin
Alper Camel19-Apr-05 4:13
Alper Camel19-Apr-05 4:13 
GeneralRe: How to Ping? Pin
Dave Kreskowiak19-Apr-05 14:59
mveDave Kreskowiak19-Apr-05 14:59 
GeneralAttaching custom methods Pin
Enishi18-Apr-05 1:29
Enishi18-Apr-05 1:29 

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.