Results 1 to 6 of 6

Thread: linking the help menu to a main menu?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    21

    linking the help menu to a main menu?

    Hi on my program i have made a menu, i would like a 'Help' tab so when the user selects it, this will link to the 'VB' help menu.

    Any ideas on this would be helpful.

    Thanks


  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Use this static method ,
    VB Code:
    1. Help.ShowHelp(.....)

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    21
    I've tried that but im getting this error back

    Leading '.' or '!' can only appear inside a 'With' statement.

    VB Code:
    1. Help.ShowHelp(.....)



    Thanks

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I don't get it , you mean you put that code within 'With' statement and it makes error ?

  5. #5

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    21
    i dont understand, on my menu bar i have an exit tab with this code

    Me.Close()

    i thought u said put Help.ShowHelp(.....) under the menu tab and this would show?

    whats a 'With' statement?

  6. #6
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by VBdotnet_newbie
    i dont understand, on my menu bar i have an exit tab with this code

    Me.Close()

    i thought u said put Help.ShowHelp(.....) under the menu tab and this would show?
    whats a 'With' statement?
    Put this code in the menuItem or whatever control , so when the user clicks it , it shows your help file . Also,look at the overloaded versions of this method .


    As with 'With' statement , these links explain it :
    With statement

    Another link

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