by Duejopor (1 Submission)
Category: Graphics
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Fri 24th March 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
This allows you to Change form icon at runtime.
Dim path As String
Private Sub Command1_Click()
file = path
CommonDialog1.ShowOpen
path = CommonDialog1.filename
Form1.Icon = LoadPicture(file)
End Sub