README.md
December 4, 2022 ยท View on GitHub
Description
This code sample allows you to display an About form for your application with a couple of lines of code.
More Info
Uses API call ShellAbout
| Submitted On | |
| By | Troy Blake |
| Level | Beginner |
| User Rating | 5.0 (15 globes from 3 users) |
| Compatibility | VB 5.0, VB 6.0 |
| Category | Windows API Call/ Explanation |
| World | Visual Basic |
| Archive File |
API Declarations
'Insert in General Declarations
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
Source Code
'Insert in Event (Like Button_Click)
Call ShellAbout(Me.hwnd, "- About Box Example", "A small example " & "that uses the ShellAbout Function to create an About Box.", Me.Icon)