About Boxes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • c0d3r
    New Member
    • Sep 2006
    • 3

    About Boxes

    I need to know how to make an About Box show.

    The about box is name AboutBox.vb

    I've tried AboutBox.show() but it comes up saying: "Reference to a non-shared member requires an object reference."

    Code:
    Public Class MainForm
    
        Private Sub aboutButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles aboutButton.Click
            AboutBox.Show()
        End Sub
    End Class
  • c0d3r
    New Member
    • Sep 2006
    • 3

    #2
    bumping this post up

    Comment

    • Seith
      New Member
      • Oct 2006
      • 16

      #3
      What?

      You're wanting a form to popup on top of a form:

      Private Sub commandbutton_C lick() 'Button or Menu to click
      frmAbout.show 'Form to show
      End Sub

      This will make frmAbout pop up on top of the other form.

      Comment

      • c0d3r
        New Member
        • Sep 2006
        • 3

        #4
        Originally posted by Seith
        What?

        You're wanting a form to popup on top of a form:

        Private Sub commandbutton_C lick() 'Button or Menu to click
        frmAbout.show 'Form to show
        End Sub

        This will make frmAbout pop up on top of the other form.

        I tried that and it comes up with about 9 errors, 8 of which state: "Name 'MY' is not declared." and 1 which states: "Reference to a non-shared member requires an object reference."

        Any more help?

        Comment

        • Penagau
          New Member
          • Oct 2006
          • 2

          #5
          http://msdn2.microsoft .com/en-us/library/zwwhc0d0.aspx

          Comment

          Working...