Imports System.IO Public Class AboutBox Private Sub AboutBox1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim AppInf = My.Application.Info Dim ApplicationTitle = If(AppInf.Title <> "", _ AppInf.Title, _ Path.GetFileNameWithoutExtension(AppInf.AssemblyName)) Me.Text = String.Format("About {0}", ApplicationTitle) Me.txt_Version.Text = AppInf.Version.ToString Me.txt_Description.Text = AppInf.Description End Sub Private Sub OKButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_OK.Click Me.Close() End Sub End Class
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)