C# Programming
05-04-2009, 04:21 PM
Hi!
My work mate have asked me to program a software which he could see when he started his computer and when he shuts the computer down.
He would like a to save this information in a text file.
I have no problem creating a Console Application to run when Windows was started using Windows auto start folder in the Start/Program-meny.
But the opposite, when Windows is closing down, I have no clue how to do.
Any ideas? I would prefer to have both functions in the same program, if that could be arranged easily.
/Mc_Topaz
My work mate have asked me to program a software which he could see when he started his computer and when he shuts the computer down.
He would like a to save this information in a text file.
I have no problem creating a Console Application to run when Windows was started using Windows auto start folder in the Start/Program-meny.
But the opposite, when Windows is closing down, I have no clue how to do.
Any ideas? I would prefer to have both functions in the same program, if that could be arranged easily.
/Mc_Topaz