Connecting Tech Pros Worldwide Forums | Help | Site Map

About Boxes

Newbie
 
Join Date: Sep 2006
Location: Wisconsin
Posts: 3
#1: Sep 30 '06
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."

Expand|Select|Wrap|Line Numbers
  1. Public Class MainForm
  2.  
  3.     Private Sub aboutButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles aboutButton.Click
  4.         AboutBox.Show()
  5.     End Sub
  6. End Class

Newbie
 
Join Date: Sep 2006
Location: Wisconsin
Posts: 3
#2: Oct 5 '06

re: About Boxes


bumping this post up
Newbie
 
Join Date: Oct 2006
Posts: 16
#3: Oct 5 '06

re: About Boxes


What?

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

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

This will make frmAbout pop up on top of the other form.
Newbie
 
Join Date: Sep 2006
Location: Wisconsin
Posts: 3
#4: Oct 9 '06

re: About Boxes


Quote:

Originally Posted by Seith

What?

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

Private Sub commandbutton_Click() '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?
Newbie
 
Join Date: Oct 2006
Posts: 2
#5: Oct 10 '06

re: About Boxes


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