Results 1 to 2 of 2

Thread: menu code?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,547

    menu code?

    well im new to vb.net so i'll be asking some pritty simple stuff(to u) but anyways wats the code for menuItem2 click because when i goto view code or double click it just brings me to the code instead of inserting the private sub part.

  2. #2
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    Re: menu code?

    It should create the sub for you automatically. I don't know why it wouldn't but this is the click event for a menuitem

    VB Code:
    1. Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem2.Click
    2. ''''Your code here
    3. End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width