VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Automatic About Form

by Troy Blake (3 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

This code sample allows you to display an About form for your application with a couple of lines of code.

Assumes
Uses API call ShellAbout
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

Rate Automatic About Form

'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)

Download this snippet    Add to My Saved Code

Automatic About Form Comments

No comments have been posted about Automatic About Form. Why not be the first to post a comment about Automatic About Form.

Post your comment

Subject:
Message:
0/1000 characters