How to get Main Window Handle of the last active window

While developing a litte application for Windows 7 in C# i encountered the problem that i needed to focus the last window after i started my application. Althought my application was closing after execution immediately, focus was not recurring to the last window because i was starting my application from the windows taskbar. For fixing this side-effect, i needed to find out, which window was active before my programm was “born”. So i did some googling for finding out how to get the previously active window handle in windows 7. In almost every thread, it was recommended to “listen” to window activation changes, and save the previous handle in a variable or so. But in my case, i wanted to avoid, running the programm permanently, or run anything in the background..
Continue reading

LeetSocket – Usage Introduction

Im happy to present you one of our current Projects: Leetsocket.
Leetsocket is a Socket Component written in c# .Net. Its built upon TCP/IP. What makes this Component special is, that you can build Client-Server applications with it, in which you can send any type of data easily without needing to implement any protocolls for sending and receiving or without needing to have any complex knowledge about sockets, working with byte arrays or whatever. Leetsocket sends objects serializing them into byte arrays according its intern binary protocoll. This Component enables you to use many cool features, such as sending files, pausing sendings or even sending things parallely.
Continue reading

Our New Blog

In the future our group will publish interesting IT-articles, code snippets and other projects on this blog.

This will be an IT-Blog on Software-Development. Includes interesting IT-Articles, Code-Snippets and Open-Source Projects.

We believe knowledge and information is there to be shared.