Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleDisplay the Windows About dialog
DescriptionThis example shows how to display the Windows About dialog in Visual Basic 6 by using the ShellAbout API function.
KeywordsAbout dialog, Windows
CategoriesAPI, Windows
 
The ShellAbout API function displays an About Windows dialog. It lets you pass excta text that it places in its title bar and after the text "Microsoft (R)" on its dialog, and other text to display after its copyright notice. (Try it. It's easier to show than to explain.)

This dialog shows the computer's physical memory free and percent of system resources free.

 
Private Declare Function ShellAbout Lib "shell32.dll" Alias _
    "ShellAboutA" (ByVal hwnd As Long, ByVal szApp As _
    String, ByVal szOtherStuff As String, ByVal hIcon As _
    Long) As Long

Private Sub cmdShellAbout_Click()
    ShellAbout Me.hwnd, "MyApplication", _
        "After Copyright", ByVal 0&
End Sub
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated