Click here to Skip to main content
15,912,977 members
Home / Discussions / C#
   

C#

 
QuestionTheming Custom Controls At Design-Time Pin
Matt U.1-Nov-11 8:48
Matt U.1-Nov-11 8:48 
AnswerRe: Theming Custom Controls At Design-Time Pin
BobJanova2-Nov-11 0:00
BobJanova2-Nov-11 0:00 
Questioncreate DSN for oracle programatically Pin
KKSharma31-Oct-11 22:56
KKSharma31-Oct-11 22:56 
AnswerRe: create DSN for oracle programatically Pin
PIEBALDconsult1-Nov-11 2:50
mvePIEBALDconsult1-Nov-11 2:50 
QuestionHelp with GetProcesses Pin
CCodeNewbie31-Oct-11 13:03
CCodeNewbie31-Oct-11 13:03 
AnswerRe: Help with GetProcesses Pin
Pete O'Hanlon31-Oct-11 20:46
mvePete O'Hanlon31-Oct-11 20:46 
GeneralRe: Help with GetProcesses Pin
CCodeNewbie31-Oct-11 23:29
CCodeNewbie31-Oct-11 23:29 
GeneralRe: Help with GetProcesses Pin
Pete O'Hanlon1-Nov-11 0:46
mvePete O'Hanlon1-Nov-11 0:46 
CCodeNewbie wrote:
2
The TotalProcessorTime works when run as a Console App under a local admin
account so why does it error as a Windows service? Do I need to pre-format the
request/return value? I am afraid I don't know (yet) how to remove the tick
count from a built-in property as all I am really doing is taking this
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.totalprocessortime.aspx
and writing it into a service.

The issue you are hitting here is that you are trying to save the TimeSpan into an integer value (in the database part). This has to be the number only, so just use the Ticks value.

Forgive your enemies - it messes with their heads

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility


AnswerRe: Help with GetProcesses - Sort of Solved Pin
CCodeNewbie2-Nov-11 12:11
CCodeNewbie2-Nov-11 12:11 
QuestionAudio processing Pin
Guy00731-Oct-11 8:09
Guy00731-Oct-11 8:09 
AnswerRe: Audio processing Pin
phil.o31-Oct-11 8:44
professionalphil.o31-Oct-11 8:44 
QuestionUnique values in list Pin
nitin_ion31-Oct-11 0:09
nitin_ion31-Oct-11 0:09 
AnswerRe: Unique values in list Pin
Pete O'Hanlon31-Oct-11 0:57
mvePete O'Hanlon31-Oct-11 0:57 
GeneralRe: Unique values in list Pin
nitin_ion31-Oct-11 1:01
nitin_ion31-Oct-11 1:01 
GeneralRe: Unique values in list Pin
Not Active31-Oct-11 2:06
mentorNot Active31-Oct-11 2:06 
GeneralRe: Unique values in list Pin
Pete O'Hanlon31-Oct-11 7:33
mvePete O'Hanlon31-Oct-11 7:33 
AnswerRe: Unique values in list Pin
Reiss31-Oct-11 3:28
professionalReiss31-Oct-11 3:28 
QuestionWCF server don't detect lost or broken connection? Pin
teknolog12331-Oct-11 0:04
teknolog12331-Oct-11 0:04 
AnswerRe: WCF server don't detect lost or broken connection? Pin
PIEBALDconsult31-Oct-11 2:44
mvePIEBALDconsult31-Oct-11 2:44 
GeneralRe: WCF server don't detect lost or broken connection? Pin
teknolog12331-Oct-11 3:18
teknolog12331-Oct-11 3:18 
GeneralRe: WCF server don't detect lost or broken connection? Pin
jschell31-Oct-11 8:34
jschell31-Oct-11 8:34 
GeneralRe: WCF server don't detect lost or broken connection? Pin
PIEBALDconsult31-Oct-11 14:02
mvePIEBALDconsult31-Oct-11 14:02 
GeneralRe: WCF server don't detect lost or broken connection? Pin
jschell3-Nov-11 7:56
jschell3-Nov-11 7:56 
AnswerRe: WCF server don't detect lost or broken connection? Pin
BobJanova31-Oct-11 3:19
BobJanova31-Oct-11 3:19 
GeneralRe: WCF server don't detect lost or broken connection? Pin
teknolog12331-Oct-11 4:01
teknolog12331-Oct-11 4:01 

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.