C# Corner

Related resources for Win32 API
  • Creating Custom Window In Win325/31/2016 2:30:29 AM. In this article we will create a black colored customized window in Win32 API-C/C++.
  • Handling Deadlock in Code Using Mutex2/1/2014 12:09:34 PM. This article exlains what a mutex is and how to use them.
  • Invoke Win32 Api Method in Window and Web Form7/31/2013 5:30:00 AM. How to invoke Message Box method using Win32.dll in Window and Webform? The Windows API can be used in all Windows-based applications. The same functions are generally supported on 32-bit and 64-bit Windows.
  • Calling WinINet API from VB.NET : Part 212/1/2012 4:19:36 AM. This is an API which connects with the remote server . After connecting it brings the files to your local disk without the “Save to Disk” dialogue box . Please contact the author for any problems.
  • Printing Directly to the Printer in VB.NET11/10/2012 3:40:10 AM. Using this code enables you to print directly to the printer using WIN32 api calls and therefore should enable you to print at maximum speed rather than relying in the Windows Printing subsystems. Additionally I have added code to show how to send PCL codes to the printer.
  • Animate with Pocket PC in VB.NET11/10/2012 3:11:14 AM. This article discusses programming for a Pocket PC in general. If you are lucky enough to get the Smart Devices Extensions you will finally be able to target devices.
  • Tutorial: Capturing and Running IE Instances in a Windows control9/29/2012 6:16:03 AM. In this article we are going to study how to find the running instances of Internet Explorer on your machine.
  • Locating Windows Owned by Other Process and Changing Window Title in C#8/11/2012 12:45:19 PM. Manipulate another process's windows from your program using the Win32 API.
  • Moving a Form without the Title Bar5/13/2012 5:57:37 AM. In this article, learn how to to allow the user to move the form without its title bar.
  • Programmatically Swapping Mouse Buttons7/10/2011 9:24:31 AM. In this article we will learn how to swap mouse buttons programmatically - to make the left button acts as the right and vice versa.
  • Apply Impersonation to Threading Using Visual Basic5/17/2011 12:01:17 PM. This article addresses a simple approach to applying impersonation to threading; by default when impersonation is applied, it does not extend to threads spawned after impersonation is set.
  • Clearing the Console Screen using API 2/11/2011 12:42:03 AM. Learn how to clear the Console screen using Win32 API calls. Also learn additional techniques like how to clear a specific portion of the screen or to move it.
  • Changing Display Settings Programmatically10/7/2009 12:35:45 AM. Learn how to change display settings (resolution, bits, rotation, etc.) via C# and Win32 API.
  • Changing Display Settings Programmatically10/7/2009 12:35:45 AM. Learn how to change display settings (resolution, bits, rotation, etc.) via C# and Win32 API.
  • COM Interoperability in .NET4/21/2006 3:08:34 AM. In this article I cover the area Interoperability issues. There is no doubt that with the help of .Net one can create powerful components and Distributed applications than any other language. But we have to think over about the past reusable components, which were created by many languages such as VB etc.
  • COM Interoperability in .NET4/21/2006 3:08:34 AM. In this article I cover the area Interoperability issues. There is no doubt that with the help of .Net one can create powerful components and Distributed applications than any other language. But we have to think over about the past reusable components, which were created by many languages such as VB etc.
  • Calling WinINet API from VB.NET : Part 24/20/2006 5:53:37 AM. This is an API which connects with the remote server . After connecting it brings the files to your local disk without the “Save to Disk” dialogue box . Please contact the author for any problems.
  • Calling WinINet API from VB.NET : Part 24/20/2006 5:53:37 AM. This is an API which connects with the remote server . After connecting it brings the files to your local disk without the “Save to Disk” dialogue box . Please contact the author for any problems.
  • Adding a control to a Form programmatically4/14/2006 1:42:08 AM. In this article I will show you how to add Windows controls to a Form programmatically. This is very useful to programmers who do not use Visual Studio or other IDE.
  • Adding a control to a Form programmatically4/14/2006 1:42:08 AM. In this article I will show you how to add Windows controls to a Form programmatically. This is very useful to programmers who do not use Visual Studio or other IDE.
  • Animate with Pocket PC3/23/2006 5:23:42 AM. This article discusses programming for a Pocket PC in general. If you are lucky enough to get the Smart Devices Extensions you will finally be able to target devices.
  • Animate with Pocket PC3/23/2006 5:23:42 AM. This article discusses programming for a Pocket PC in general. If you are lucky enough to get the Smart Devices Extensions you will finally be able to target devices.
  • Printing directly to the Printer3/23/2006 4:46:36 AM. Using this code enables you to print directly to the printer using WIN32 api calls and therefore should enable you to print at maximum speed rather than relying in the Windows Printing subsystems. Additionally I have added code to show how to send PCL codes to the printer.
  • Printing directly to the Printer3/23/2006 4:46:36 AM. Using this code enables you to print directly to the printer using WIN32 api calls and therefore should enable you to print at maximum speed rather than relying in the Windows Printing subsystems. Additionally I have added code to show how to send PCL codes to the printer.
  • SysUtil 1.0: A Windows NT System Utility3/8/2006 12:53:48 AM. This article describes about the information of the system and its utility. The attached application with this article is a System Utility, which uses C++ to display system information.
  • SysUtil 1.0: A Windows NT System Utility3/8/2006 12:53:48 AM. This article describes about the information of the system and its utility. The attached application with this article is a System Utility, which uses C++ to display system information.
  • SysUtil 1.0: A Windows NT System Utility3/8/2006 12:53:48 AM. This article describes about the information of the system and its utility. The attached application with this article is a System Utility, which uses C++ to display system information.
  • Rename Printer Programmatically3/4/2006 12:22:12 AM. This article explains how to rename printer programmatically.The attached code snippet is used to rename a printer programmatically in MFC and C++.
  • Rename Printer Programmatically3/4/2006 12:22:12 AM. This article explains how to rename printer programmatically.The attached code snippet is used to rename a printer programmatically in MFC and C++.
  • Placing an integer in a message box2/23/2006 7:40:11 AM. This article describes how to placce an integer in a message box.
  • How to delete a directory?2/23/2006 7:08:25 AM. This article describes how to delete a directory.
  • ProTracker 1.0: A process tacking utility2/23/2006 6:44:26 AM. This article describes about ProTracker 1.0.It is a process tacking utility.This is a utility which displays current processes running on your machine.
  • CPU Speed2/23/2006 6:18:59 AM. This article describes about how to get CPU Speed.CPU information is stored in your Windows registry database.
  • Portable CD Player Pre version2/23/2006 5:42:10 AM. This artcile describes about Portable CD Player Pre version.A simple program plays your CD. This is pre version of my Portable CD Player. This application plays CD on your machine.
  • Creating child windows using Win API2/23/2006 5:14:44 AM. This article describes how to create a child window using windows API.This project is a Win32 Application provided by App Wizard. This project creates child windows such as button, list, and edit box using Win API.
  • How to get version information of DLLs and Exes?2/23/2006 5:10:55 AM. This article explains about how to get version information of DLLs and Exes.
  • Launching an application using CreateProcess2/23/2006 4:40:59 AM. This article explains how to launch an application using Create process.
  • A Class Enumerates Network2/23/2006 4:22:47 AM. In this article I coded a sample reusable dialog class that enumerates networks, domains, computers by utilizing CTreeCtrl and CImageList common control classes and by using WNetOpenEnum, WNetEnumResource , WNetCloseEnum API functions. The attached source code in this article is a class that enumerates through the network and lists the network computers and domains.
  • Working with Win32 API in .NET2/3/2006 5:01:00 AM. Windows exposes lots of functionality in the form of Win32 API. Using these API you can perform direct operation in windows, which increases performance of your application.
  • Working with Win32 API in .NET2/3/2006 5:01:00 AM. Windows exposes lots of functionality in the form of Win32 API. Using these API you can perform direct operation in windows, which increases performance of your application.
  • Working with Win32 API in .NET2/3/2006 5:01:00 AM. Windows exposes lots of functionality in the form of Win32 API. Using these API you can perform direct operation in windows, which increases performance of your application.
  • Printing Directly to the Printer1/4/2006 5:04:18 AM. Using this code enables you to print directly to the printer using WIN32 api calls and therefore should enable you to print at maximum speed rather than relying in the Windows Printing subsystems.
  • C# and API12/30/2005 1:50:35 AM. API (Application Programming Interface) is a set of commands, which interfaces the programs with the processors.
  • Coloring the Console in C# 12/26/2005 12:57:22 AM. When working with console applications in C#, you always see a black and white screen. What if we want to change the background color of the console? We can change the foreground and background color of our console application by using win32 API SetConsoleTextAttribute().
  • Getting Official DayTime using NIST TimeServer12/7/2005 3:25:40 AM. This program shows how to create a simple socket to a NIST timeserver (Port 13) and using the Daytime Protocol, gets the official time.