I take no responsibility for the contents; I publish all my pages under the terms of the GNU Free Documentation License.

Contents

Home‎ > ‎

Windows programming

Win32, MFC

WinDbg

Miscellaneous functions
Flexible MFC messagebox
Deriving from MFC controls
Adding scripting functionailty to an MFC app
Taskbar icon
MFC Control that can display an image
Keyboard and mouse simulation

Visual C++ manifest hell

Filtering based on conditions specified in a string (like "a==12 || b!=5")

SECURITY_ATTRIBUTES snippets
Programming the device manager
Win32 Disk information
Win32 Windows Service
Win32 NTFS permissions
IAT hooking
Manipulating windows in other processes

Minifilters (DDK)

Windows Driver Debugging over VMware
Windows Drivers memory management

List implementation
DDK String manipulation

Hello world driver
DeviceIoControl and implementing a "class" (a plain C entity)
Minifilter precreate
Minifilter hobby application

gotchas

Inter-process communication methods (MFC)

Clipboard

Postmessage communication with the help of a hidden CWnd
Named pipes
MFC Sockets
Win32 UDP sockets example
Message queue
Shared data segment in a dll
See COM below as well

COM

COM basics
Ole basics
Connecting to a .NET application that is registered in the Running Object Table (yes, it was written by me :-))
Registering an object to the Running Object Table from a non-COM project
Registration free COM

.NET (winforms + general)

Miscellaneous .Net code-snippets
Help generator class using reflection
TableData class (for storing data in a table-like structure)
Excel wrapper class
Marshalling and native calls
Getting the .NET Type object for a COM object
Lambda expressions
Remoting
Simple socket
String encrypting
wix (installer)
Nhibernate
For chasing down .net memory problems I really recommend this article: http://www.codeproject.com/Articles/19490/Memory-Leak-Detection-in-NET it is excellent!!

.NET Scriptability

VBScript Editor control (derived from RichTextBox)
VBScript Executer class
C# and VBS tricks
Registering an object to the Running Object Table from a non-COM project, C# version

ASP.NET

IIS config tricks (including how to configure IIS for .NET from clean install)
Loading page for long background tasks
How to implement a webcontrol
AJAX UpdatePanel
How to pass information from client side (javascript) to server side
ASP.NET snippets

ASP.NET AutoEdit control
Access Paypal via Soap

CSS snippets

find other asp.net webcontrols: http://www.asp.net/Community/Control-gallery/
great css tutorial: http://www.wpdfd.com/issues/70/css_from_the_ground_up/
understand viewstate and asp.net page lifecycle: http://www.4guysfromrolla.com/articles/092904-1.aspx
open source javascript based controls: http://www.sencha.com/products/extjs/

Scripts

vbs code snippets
Powershell code snippets

MS SQL

MS sql logfile is usually located here: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG
Get information about objects in the DB
SP tricks
Query tricks
Users and logins
Drop database objects
DDL examples
Indexes and performance tuning
Backup and restore
XML as datatype
CLR extension

Admin things

Tricks

Read these

Unix tools to make your windows console more usable (still windows console is a disaster...)
http://sourceforge.net/projects/unxutils/

Dual pane file manager to overcome the terrible M$ implementation of a file explorer
www.freecommander.com

The location of the micro$oft forum:
http://www.microsoft.com/communities/forums/default.mspx

Implementing asp.net controls
http://samples.gotdotnet.com/quickstart/aspplus/doc/webctrlauthoring.aspx

Implement a DCOM server in C#
http://blogs.msdn.com/adioltean/archive/2004/06/18/159479.aspx

Convert your images to ico(n) files here:
http://www.chami.com/html-kit/services/favicon/

Generate a loading gif
http://ajaxload.info/

How to programatically change text formatting in RichEditControl in C# winforms
http://www.codeproject.com/KB/cs/RTFSyntaxColour.aspx

About string encodings (Unicode Ascii etc.)
http://www.joelonsoftware.com/articles/Unicode.html

Great company that helps saving our planet by saving fuel for transport companies
www.bluetreesystems.com

Subpages (79): View All
Č
ċ
ď
vbsdebugger.zip
(29k)
Jozsef Bekes,
Mar 2, 2010 1:45 PM