|
-
Mar 29th, 2009, 04:53 AM
#1
Thread Starter
Lively Member
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.
-
Mar 29th, 2009, 05:09 AM
#2
Re: how to edit menu in vb6...urgent help needed for project
Last edited by Fazi; Mar 29th, 2009 at 05:16 AM.
-
Mar 29th, 2009, 08:45 AM
#3
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)
-
Mar 30th, 2009, 06:29 AM
#4
Thread Starter
Lively Member
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.
-
Mar 30th, 2009, 06:43 AM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|