ShellAbout (shell32)
Last changed: -75.165.245.34

.
Summary

C# Signature:

[DllImport("shell32.dll")]

static extern int ShellAbout(IntPtr hWnd, string szApp, string szOtherStuff, IntPtr hIcon);

VB Signature:

Declare Ansi Function ShellAbout Lib "shell32.dll" Alias "ShellAboutA" (ByVal hWnd As IntPtr, ByVal szApp As String, ByVal szOtherStuff As String, ByVal hIcon As IntPtr) As Integer

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

(C#)

using System.Runtime.InteropServices;
using System.Reflection;

(VB)

None.

Sample Code:

(C#)

ShellAbout(
    this.Handle,
    "AppName " +
    Assembly.GetExecutingAssembly().GetName().Version.ToString(),
    "",
    IntPtr.Zero);

(VB)

ShellAbout( _

    Me.Handle, _
    Application.ProductName, _
    "Version: " & Application.ProductVersion, _
    Me.Icon.Handle)

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
ShellAbout on MSDN

http://msdn2.microsoft.com/en-us/library/bb762152.aspx