locked
About Box RRS feed

  • Question

  • Hi there,

    I want to add an About Box to my project, accessable from a MenuStrip via a "help" drop down.

    I have created the About Box, but I cant seem to integrate it.

    Ive tried a few different methods found in other threads, but I am always getting "Name form_load Is not declared"(thats just one example)  for the methods that I have tried.

    VS 2005 in a VB Environment

    Any ideas?

    thanks fred.

    Thursday, August 17, 2006 12:56 PM

Answers

  • Assuming your form is called frmAbout

    you would put this in your menu item's onclick event

    Dim AboutWindow as new frmAbout()

    frmAbout.ShowDialog()

     

    Hope this helps.

    Thursday, August 17, 2006 1:28 PM

All replies

  • how exactly have you created the "about box"? is it a new Windows form? or just a MessageBox?
    Thursday, August 17, 2006 1:18 PM
  • Assuming your form is called frmAbout

    you would put this in your menu item's onclick event

    Dim AboutWindow as new frmAbout()

    frmAbout.ShowDialog()

     

    Hope this helps.

    Thursday, August 17, 2006 1:28 PM