Instead of checking to see if the workstation is locked, why not check for keyboard inactivity and change the how your application "works" by that means? Just a thought ...
:..::. Douglas H. Troy ::..
Bad Astronomy |Development Blogging|Viksoe.dk's Site
If you're using Framework 1.0 and VS.NET 2002, you'll need to download the ODBC.NET Data Provider[^]. If you're using Framework 1.1 and VS.NET 2003, then you just need to use the System.Data.Odbc namespace.
I don't know whether it's just the light but I swear the database server gives me dirty looks everytime I wander past. -Chris Maunder
If you don't have the lib file, you can always use the LoadLibrary() and GetProcAddress() functions. Roger Stewart "I Owe, I Owe, it's off to work I go..."
Right click on the folder and go to Properties then click on the Security tab then Click on Advanced then click on Owner. This will allow you to take ownership of the folder, and replace permissions as long as you are administrator on the box. Make sure you have the "Replace owner on subcontainers" box checked to get all of the subfolders/files. -Scott
Anonymous wrote: is about correct implementation. There's no such thing--if it works. (Except in this case there may be implementation that will get you an 'A' and implementation that won't.)
Help you I can, no. Correct question: What is the compression algorithm that RAR uses? Huffman, Lempel-Ziv? Answer: www.rarsoft.com - ask them.
"I was in a computer game. Funny as hell, it was the most horrible thing I could think of."