| Dancing Zombies: Adding Bitmaps to the Managed Graphics Library |
| MSDN |
| Learn how to load and display bitmaps, animated bitmaps, key transparency, and more using GAPI and the Dancing Rectangles sample. |
|
| DateTimePicker appears flat |
| The Code Project |
| A simple and easy class that draws the standard DateTimePicker as flat control. |
|
| Display the Current Temperature in the System Tray |
| The Code Project |
| Use a web service to retrieve the temperature for a given zipcode and display it in the taskbar system tray |
|
| Displaying a NotifyIcon's Balloon ToolTip |
| The Code Project |
| This article shows one approach to displaying a balloon tooltip for a notify icon created using the FCL's NotifyIcon class. This relatively new feature of notify icons is not supported by the NotifyIcon class and adding this feature to my own code was not immediately obvious without some creative coding. This is why I am presenting it here. The other reason is that I am hoping somebody can tell me that I'm doing it all wrong and that there is a much more 'correct' solution. |
|
| Dissecting the MessageBox |
| The Code Project |
| A look at what goes into creating a message box, and in the process, create a customizable message box that supports custom buttons, icons, fonts ,"Don't ask me again" functionality, and lot more. |
|
| Dynamically Changing Database Stored Image Sizes |
| DotNetJunkies |
| Earlier today, I recieved an email asking if I could demonstrate how to resize images that are stored in a database and display them in a web page. Instead of simply rendering the image bits directly to the HttpResponses output stream I'll be first changing the size of the image, all done in memory |
|
| Dynamically Changing Database Stored Image Sizes |
| DotNetJunkies |
| Donny demonstrates how to resize images that are stored in a database and display them in a Web page. |
|
| Enumerate and Host Control Panel Applets using C#. |
| The Code Project |
| Demonstrates how to enumerate and host Windows Control Panel Applets using C# and unmanaged C++. |
|
| Enumerating Network Resources |
| The Code Project |
| Using the WNetEnumResource API from C# |
|
| Extend the Common Dialog Boxes Using Windows Forms 1.x |
| MSDN |
| Describes techniques for placing Windows Forms controls inside the standard File Open dialog box. |
|
| Extending Explorer with Band Objects using .NET and Windows Forms |
| The Code Project |
| A lot has been already said about extending Windows and Internet Explorer with Band Objects, Browser Bands, Toolbar Bands and Communication Bands. So if you are familiar with COM and ATL you even might have implemented one yourself. Well, in case your were waiting for an easy way to impress your friends with something like Google Toolbar here it is - the .NET way (or should I say Windows Forms and COM Interop way?). In this tutorial I am going to show how to create any of the mentioned above Band Object types with the help of the BandObject control. Later I will also talk about some implementation details of the BandObject. |
|
| Fun with DVR-MS |
| MSDN |
| Use Windows XP Media Center 2005 and DirectShow to record and store television files. |
|
| Graphics Copyright |
| C# Corner |
| With the popularity of digital cameras and the increase of digital archive web sites allowing you to buy images to use its handy to be able to add a copyright to your image. However you don’t want to just write the word copyright across your image do you? No, in the world of .Net something cleverer is needed. So here I present a way to add a copyright to a jpeg image without obscuring the image. |
|
| Hacking the Combo Box to give it horizontal scrolling |
| The Code Project |
| How to hack the combo box to give it a horizontal scroll bar, thus giving a polished look with ease + simplicity. |
|
| Height of Text |
| The Code Project |
| This function will return the height of text. Designed for use with text boxes on windows forms. |
|
| HiWord and LoWord Operators |
| devCity.NET |
| Sometimes getting values back from API calls return HiWord and LoWord operators which are used to pack two integers into a long value. This simple function helps translate your values. The code also demonstrates overriding of a function to accept either an IntPtr or an Int32.
|
|
| How to call the EnumJobs function from a Visual Basic .NET application |
| http://www.kbalertz.com/ |
| (821769) - Explains how you can use EnumJobs calls to retrieve the status of a print job, the printer information, the job identification, and other parameters that are available in the local print queue. |
|
| How to check for user inactivity with and without platform invokes in C# |
| The Code Project |
| Within the last month, two fellow programmers asked how to implement a timeout after a certain interval of inactivity. This article features two and a half ways of doing this. |
|
| How to copy a String into a struct using C# |
| The Code Project |
| How to copy a String into a struct using C# |
|
| How to create the KBBar .NET Internet Explorer tool band in Visual C++ .NET 2003 |
| http://www.kbalertz.com/ |
| (821793) - Explains how to create Internet Explorer tool bands in Visual C++ .NET 2003. Contains a link to a downloadable sample. The sample creates the KBBar .NET tool band that can be used to search the MSDN Web site and the Microsoft Knowledge Base. |
|
| How to drag forms by using the client area with Visual C++ .NET |
| http://www.kbalertz.com/ |
| (816191) - This step-by-step article describes how to permit a user to move a form by dragging the client area of the form. This article describes how to override the WndProc method of the form to enable the client area dragging. Back to the top Requirements The... |
|
| How to drag forms by using the client area with Visual C++ .NET |
| Microsoft Support |
| (816191) - This step-by-step article describes how to permit a user to move a form by dragging the client area of the form. This article describes how to override the WndProc method of the form to enable the client area dragging. Back to the top Requirements The... |
|
| How to Pass Managed Objects As a Parameter of a Queued Component |
| The Code Project |
| To pass an object through a queued component's method call as a parameter, the client passes the object to the COM+ recorder. The recorder marshals the object into an MSMQ message and passes it to the listener. The listener then picks up the message and passes it to the player, the player must re-instantiate the object to dispatch it to the method call specified by the client. This implies that to pass an object as parameter to the queued component, it must be able to marshal by value. Since COM+ does not provide pass-by-value semantics for standard COM objects, we need to implement IPersistStream for the parameter object. |
|
| How to spawn a process that runs under the context of the impersonated user in Microsoft ASP.NET pages |
| http://www.kbalertz.com/ |
| (889251) - Explains step-by-step how to spawn a process that runs under the context of the impersonated user. |
|
| How to use certificates to sign and to verify SignedXml objects by using Visual C# .NET |
| http://www.kbalertz.com/ |
| (320602) - This step-by-step article describes how to use certificates to sign and to verify SignedXml objects. The article describes how to use the platform invoke services in Visual Basic .NET to call Win32 API functions to access certificates in certificate... |
|