{"id":94,"date":"2004-03-20T01:47:51","date_gmt":"2004-03-19T17:47:51","guid":{"rendered":"http:\/\/foxpro.ntsl119.com\/scr\/?p=94"},"modified":"2007-11-14T14:18:50","modified_gmt":"2007-11-14T06:18:50","slug":"workblogs-winapi-lock","status":"publish","type":"post","link":"https:\/\/foxpro.ntsl119.com\/scr\/archives\/94","title":{"rendered":"workBLOGS . winAPI lock"},"content":{"rendered":"<p>Yesterday when faced with the task to find a process to  lock the computer when a certain time limit expires, my approach was to insert a reboot WinAPI code in a modal form that literally reboots the computer when the password expires.  Research time was quick and limited&#8230; thus the &#8216;semi-lame&#8217; approach in solving the problem.<\/p>\n<p>A day after, with Avatar&#8217;s key help (he really _is_ existing and not just a <a href=\"http:\/\/dictionary.reference.com\/search?q=figment\" target=\"_blank\">figment of my imagination<\/a>) and of course <a href=\"http:\/\/support.microsoft.com\/default.aspx?scid=fh;EN-US;KBHOWTO\" target=\"_blank\">support.microsoft.com<\/a>, <a href=\"http:\/\/www.delphifaq.com\" target=\"_blank\">DelphiFAQ<\/a> (Yup Delphi rocks!), <a href=\"http:\/\/www.google.com\" target=\"_blank\">Google<\/a>, <a href=\"http:\/\/www.foxite.com\" target=\"_blank\">Foxite<\/a>, <a href=\"http:\/\/www.tek-tips.com\" target=\"_blank\">Tek-Tips<\/a>, a new <a href=\"http:\/\/www.logitech.com\/index.cfm\/products\/productlist\/CN\/EN,CRID=19\" target=\"_blank\">LogiTech mouse<\/a> and two cans of <a href=\"http:\/\/www.coca-cola.com\/\" target=\"_blank\">coke<\/a>&#8230; I can now [a] disable the ALT+F4 key by macro substituting with the ON KEY LABEL,  [b] hide the task bar,  [c] disable the task window (in Windows ME\/9x),  [d]  disable alt+ctrl+del (still in Windows ME\/9x  not that bulletproof in Windows 2000 i think),  [e]  hide the Windows Start button and  [f] shutdown Internet Explorer.  How&#8217;s that for a cruel start?  <\/p>\n<p>Remind me to post the snippets later&#8230; and someone should really help me convince Avatar to start his own techno\/work-blog.<\/p>\n<p>The client visit was a little tiring since every time I visit that place I have to check the programs installed in 10 different computers located in 6 different offices\/sections.  But it was fruitful nonetheless.  More on that one later and the thoughts that was buffered in my mind while I was sitting on that slow moving bus.<\/p>\n<p>I did promised myself to have an early sleep (I deserve one!) after this visit&#8230; <font face=\"Tahoma, Verdana, Arial\">01:30<\/font>AM is indeed early.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday when faced with the task to find a process to lock the computer when a certain time limit expires, my approach was to insert a reboot WinAPI code in a modal form that literally reboots the computer when the password expires. Research time was quick and limited&#8230; thus the &#8216;semi-lame&#8217; approach in solving the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,10],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-visual-foxpro","category-workblog"],"_links":{"self":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":0,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"wp:attachment":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}