README.md

December 4, 2022 ยท View on GitHub

Automatic About Form

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
ByTroy Blake
LevelBeginner
User Rating5.0 (15 globes from 3 users)
CompatibilityVB 5.0, VB 6.0
CategoryWindows API Call/ Explanation
WorldVisual 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)