Hi, I have recently been asked by a neighbor of mine if I could create a security application with methods to secure a windows desktop. Now I know there are a billion ways to do it in the registry but I figure it would be a great learning experience to see how well I can do this programmatically.

Now I have created LowLevelKey hooks to disable common keys like Alt+Tab and window key functions but the Ctrl Alt Del key combo had me confused at first. Well with research I have found that this Hotkey is monitored by Winlogon.exe and specifically its SAS Window.

So I spent a few days thinking out various methods to handle this. 1st I was thinking about looking around for a Keyfilter hook driver (but since I am not familiar with C++ that is kind of rulled out)
Next I looked in the MS Database and looked around on rebuilding the GINA. But this method is really too messy, too complex and I think would be a lot more work. (Not to mention dangerous)

So my final solution was the SAS Window Subclass. I found a good exmaple here: http://www.codeproject.com/win32/AntonioWinLock.asp yet since i dont know C++ it has been a difficult past weeks to try and convert into vb6. (These memory API functions kill me hah) anyways..

So I was wondering if anyone has done this in VB6 yet? If so do you care to share your module or function?

Most likely, I am thinking that a lot of people have probably not since the real internals of windows are coded mostly by C++ people.

So my other question is, does anyone know of a C++ or VC++ to VB6 to VB.net converter?
This would be the ultimate find if anyone knows of any, since this would greatly help me out in other project where I attempt to analyze C code and manually code and convert it line by line, which for myself seems to have a 90% fail rate. (They don't have to be free, I would probably pay for something that valuable)





Summary:
1. Has anyone ever Subclassed the Winlogon.exe SAS Window in VB?
2. If not would anyone be willing to give me a hand from AIM or e-mail or something in the process of converting this example to VB.
3. Does anyone know of a C to VB converter?