Category Archives: Win 32 API

CaptureItPlus – A screen capture utility

Few days back I started working on another open source project, for capturing screen shots. It is similar or can be used as an alternative to Snipping Tool in Windows Vista / 7. Here is the main features of CaptureItPlus … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Miscellaneous, Win 32 API, Windows Forms | Tagged , , , , , | 4 Comments

How to use TaskDialog API in C#

The TaskDialog API replaces MessageBox. A message box is useful for prompting users for an acknowledgment, confirmation, or an answer to a yes or no question. Message boxes are popular because of the MessageBox function is convenient for developers to … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, Win 32 API, Windows 7, Windows Forms, WPF | Tagged , , , , , , , | 4 Comments

Setting an application on top other windows using C#

Yesterday while watching video on Youtube.com I found one problem I can’t view YouTube video as well as write code. on same time. We can find always on top options in most video players, but I don’t think this option … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Win 32 API, Windows Forms | Tagged , , , , | Leave a comment

How to record sound using C#

Microsoft .Net don’t have inbuilt support for recording sounds. If want to record sound, you need to use WIN32 API functions. The following code used to record sound from Mic. It is using mciSendString function from Winmm.dll. The mciSendString function … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Win 32 API, Windows Forms | Tagged , , , | 2 Comments

How to turn off monitor programmatically using C#

Today while playing around send message WIN32 api calls, I found a nice option with WM_SENDCOMMAND, which helps to turn off monitor using C#. Later I found some my friend Shobanis using the same code in his dark project in … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Win 32 API, Windows Forms | Tagged , , , | 3 Comments