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.
Re: how to edit menu in vb6...urgent help needed for project
Re: how to edit menu in vb6...urgent help needed for project
Welcome to VBForums :wave:
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)
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.
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.