.netPlus / Samples

 

Here it is, what you're probably here for; the sample code. Please don't hesitate to send comments or questions about the samples to me - click the e-mail tab above. This license applies to all code here.

 

VB 5/6

Active Desktop wallpaper 01/11/01
Set and retrieve the wallpaper settings for Active Desktop.

Command output 01/11/01
Capture output from console applications.

IProgressDialog 01/11/01
Use the standard shell progress dialog.

ITaskbarList 01/11/01
Control the Windows taskbar buttons.

SHFileOperation 04/28/01
Yet another sample of the SHFileOperation API. But this one is different...

UpTime 11/25/01
Check how long the operating system has been running.

VBBubble 01/10/01
Add alignment and multiline support to VB tooltips.

 

.NET

Dynamic PInvoke method calls 03/21/02
Use Reflection to generate dynamic types with PInvoke methods. [C#, VB.NET]

GacTool and the Fusion History Disk Cleanup Handler 07/05/03
Fun and games with the Fusion APIs. [C#]

Ownerdraw menuitems 03/23/02
Draw icons in menuitems. [C#, VB.NET]

ShellLink 03/23/02
Create and modify shortcut files in managed code. [C#, VB.NET]

 

Miscellaneous

This page contains various other code samples that don't get their own page.

 

 

 

©2000-2024, .netPlus