My FTP backup solution, aptly named Backup, stopped working properly when Kathy and I upgraded to Windows Vista. Unfortunately, there is no way for a Windows service to hook into mouse or keyboard messages for the desktop of the user logged in. This is a problem because now Backup can't tell how long the user has been idle, a key component in determining when to backup files. The .NET 2.0 framework did not provide a reasonable way for me to overcome this hurdle, so the project's sat in limbo for months.
Currently, Backup has 3 modules. First is the Setup module which allows the user to select which files they want to have backed up, and what server to back them up to. Easy enough. Second is the Service module that actually does the backing up. Third is the roncli Productions common module that handles things such as registration and about dialogs.
Since the Service module can no longer handle idle time detection, I have to split that piece out, yet somehow communicate back to the Service module when an application is idle. Windows Communication Foundation to the rescue.
With WCF in the .NET 3.0 (and now 3.5) framework, I am able to easily create messages to send from a client app to a server app. I simply alter the Setup piece to be always running in the background when the user logs on, and tells the Service when the user is idle. Of course, there can be multiple users, so all the users would have to be idle at once, which is no big deal to figure out.
This seems like an awful lot of work to get a service to know when its users are idle, but it'll get the job done, and Backup will finally be Vista-ready.
This is my blog where I give my thoughts and opinions on various topics and share my creative endeavors with the world. I run two personal blogs, but combine them here for ease of access.
Blogger - My oldest blog using the Blogger platform contains posts full of opinions, gaming, and code.
Tumblr - Tumblr posts are all about my creative side, containing music, videos, writings, and updates on my web creations.
You can select a category below to view the latest post, or browse thorugh the posts using the navigation found at the top and bottom of each post.
In California, truck license plates are 7 characters, all numbers except for one letter in either the second or the sixth position. Whenever that letter is an X, I get nerd snipped into treating it as a multiplication problem and solving it in my head.
we should have paid more attention to the cats who, for decades, put their bodies on the line to walk on keyboards and sit on laptops and prevent us from programming
Former 2 time world champion DogPlayingTetris becomes the first player to ever rollover the level counter in NES Tetris, performing what's known in the community as "Rebirth". Final score: 29,486,164, 4216 lines, level 347 (256 + 91)... all huge world records. #tetris
I'd also love a 6 hour layover overnight instead of taking the red eye I was going to take and be 7 hours later getting into Cleveland than I wanted, why do you ask? #airporthell
Why yes, I'd love to leave at 4:40 to get to the airport at 6:20 for an 8:20 flight that got delayed to 9:05 which is too late for my connection so now I'm on a 10:20 flight instead. Why do you ask? #airporthell
@shanselman Who at Microsoft do I have to bribe to fix ADO so that those of us on dark mode who copy/paste text from one task to another can do so without our friends on light mode seeing dark text on a dark background?
I updated the blog post with a statement from Revival. While I'm not particularly happy with Revival's decision, I understand their motives. It's just a shame that it was someone from Interplay that had to go and do this. "By games for gamers" my ass.
Damn, got another Tetris world record! This time in the arcade variant developed by Atari. 6,008,005 points, 5,386 lines, round 363. Be warned, it's nearly FIVE HOURS. https://www.twitch.tv/videos/2131759212