I want to be able to click a button in Form1 so that it opens a new window with an about page and maybe some other things. How can I do this?

Recommended Answers

All 3 Replies

You need to add another form to your project and put whatever you want on it. Then show it with something like Form2.Show() or Form2.ShowDialog()

I want to be able to click a button in Form1 so that it opens a new window with an about page and maybe some other things. How can I do this?

First have you put a menu bar on your main page..if so make one section name it About..double click on that on takes you to the code page under menuAbout_onclick...

you want to do something like this...

Private Sub AboutToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AboutToolStripMenuItem.Click
Dim about As New aboutpage
        about.ShowDialog()

    End Sub

Project>Add Windows Form>About Box>OK
Then in your code for the button hit add AboutBox1.Show()

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.