Problem : Probably a noob question but interop isn’t one of my strong points yet. Aside from limiting the number […]
Can’t install windows 7 SDK (require already installed .NET Framework 4)
Problem : I’m trying to install windows 7 SDK on Windows 8 and Windows 10 machines and got this error: […]
In C#, is there a way to consistently be able to get the selected text contents of currently focused window?
Problem : In my c# .Net application, I’ve been trying to be able to retrieve the currently selected text in […]
Native Win32 window in WPF Control
Problem : I am developing an application that needs to a host native Win32 window and somehow i have no […]
Handle Win32Exception thrown by Process.Start()
Problem : On some computers, when I call Process.Start() to start my helper executable, I get the following exception: System.ComponentModel.Win32Exception […]
Language Bar change language in c# .NET
Problem : TL;DR: Trying to solve the issue that InputLanguage changes the input layout but does not update the Language […]
What existing CLR hosts do not provide one-to-one mapping between managed and unmanaged threads?
Problem : I know I should not rely upon that there is one-to-one mapping between managed and unmanaged threads. From […]
Is there a possibility to differ virtual printer from physical one?
Problem : I have a list of all printers available in WinXP. I need the code (ideally .NET) to filter […]
Send windows message to a Windows Service
Problem : Is there any tool to send (mimic) a windows message like ‘WM_ENDSESSION’ to a windows service? OR How […]
Login dialog for Windows client application
Problem : Is there a Win32 function I can call to show a Windows login dialog? E.g., Internet Explorer and […]