About "About"

I included an About form to come up when someone clicks on the menu item - to put a link to the website information, support, etc. At least, that seems to be how the big kids do it. But I've looked and looked - can't find a way to get it to evoke. I guess this is my first attempt at more than one form in a program. Any Cliff notes on this function


Answer this question

About "About"

  • Ravish Subramanya

    In .NET first every thing is measured in object. So first create instance of about form. Refer following code:

    Write code on menu click:

    Dim mobjfrmAbout as frmAbout ' About Form name
    mobjfrmAbout.ShowDialog()




  • LoekyH

    FrmAbout.ShowDialog()



  • fradi

    Bronco Billy wrote:

    Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    AboutBox1.Show()

    End Sub

    End Class

    Thisis the one that worked....thanks BB and everyone



  • maria paramita

    Or another way, using My:

    My.Forms.AboutForm.ShowDialog()

    Note that it's preferable to use ShowDialog rather than Show, since About dialogs are typically shown modally (you have to close them before returning to the application).

    Steve Hoag

    Visual Basic .NET



  • GDocherty

    Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    AboutBox1.Show()

    End Sub

    End Class


  • About "About"