Results 1 to 5 of 5

Thread: how to edit menu in vb6...urgent help needed for project

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2009
    Posts
    65

    how to edit menu in vb6...urgent help needed for project

    Hi,

    I HAVE TWO QUESTIONS-

    1).Does anyone knw how to build a menu in a visual basic 6 window. like.....

    under file.............new,open file, save file, save as etc

    under tools............options, toolbox etc and, how to link this to practical application, that is, if i click on file and then on open, it should tk me to the documents in the computer as we seen in normal windows, and so with the other like save file, save file as .....etc. how to make them to do their operations when i run a program. IS THERE ANY CODE FOR IT ....IF SO CAN ANYONE SUGGEST BY GIVING A SMALL EXAMPLE.

    i tried this in menu editor in vb6 but still its not clear. can any one explain how to do it by giving a small example.

    2). and, how to put an icons, like for copy and paste etc just below the menu of the form. and where can i find those icons.

    thanks.

  2. #2
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: how to edit menu in vb6...urgent help needed for project

    Last edited by Fazi; Mar 29th, 2009 at 05:16 AM.

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: how to edit menu in vb6...urgent help needed for project

    Welcome to VBForums

    In terms of the code for the menu items like Open etc, see the "Files" section of our Classic VB FAQs (in the FAQ forum, which is shown near the top of our home page)

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Mar 2009
    Posts
    65

    Re: how to edit menu in vb6...urgent help needed for project

    thanks for replying, its working,
    but still i didnt understand, what code is it needed for any other operations like, for opening a file, save file etc..........from video that i seen it only shows for exit(unload me) but i dont knw how to assign a code for other operations.

    And, I didn't got answer to my questions, that how to create an icons on the top of window and that is just below the menu.........the icons will be a sort of the same icons we see , when we edit a word file like for save a file , copy a file, paste a file etc that we usually see when editing a word doucments.

    thank you for your time.
    Last edited by hadimohammed365; Mar 30th, 2009 at 06:35 AM.

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: how to edit menu in vb6...urgent help needed for project

    You assign code to the other menus in the same way, you just use code that suits the purpose of that menu. The code for opening/saving files (including the dialogs) is in the link I gave.


    For the 'icons' what you want is a toolbar, but I'm afraid I don't use them myself, so hopefully somebody else will explain.

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