473,320 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Application menu and Form menu

abouddan
Hi all

My request has two faces:

1- I need to create my own menu in my project that runs when the application is start. But I want that menu to starts manuly, I mean by runnig codes so I can manage that menu. The reason of that is to prevent or to allow specific users to use one or more menu options.
ex: User1 can see : File, Edit and Help
User2 can see: File, Edit, view, tools and Help

2- How can I create my own Menu In the main Form. So not an application menu it's a form menu.

if there is anything not clear please ask.
thanks
Apr 17 '07 #1
7 6379
ADezii
8,834 Expert 8TB
Hi all

My request has two faces:

1- I need to create my own menu in my project that runs when the application is start. But I want that menu to starts manuly, I mean by runnig codes so I can manage that menu. The reason of that is to prevent or to allow specific users to use one or more menu options.
ex: User1 can see : File, Edit and Help
User2 can see: File, Edit, view, tools and Help

2- How can I create my own Menu In the main Form. So not an application menu it's a form menu.

if there is anything not clear please ask.
thanks
  1. View ==> Toolbars ==> Customize ==> Toolbar Name ==> Properties ==> Menu Bar
  2. Add items as so desired
  3. Form ==> Properties ==> Menu Bar = New Menu Bar Name
Apr 20 '07 #2
Denburt
1,356 Expert 1GB
Once you have your menu's created you can view this thread and it should help with the rest of your coding. If you have any questions let us know.

Enable and Disable option in Toolbar or Menu to certain user.
Apr 20 '07 #3
Thanks For the support

I did What ADezzi said, I maid the menu and I added the items needed and from the form properties/others/menu I added the new menu. But I think there something more, when runnig the form the menu appears all alone not as a part of the form. I want that menu to be attached to this form and nothing else.
Apr 24 '07 #4
ADezii
8,834 Expert 8TB
Thanks For the support

I did What ADezzi said, I maid the menu and I added the items needed and from the form properties/others/menu I added the new menu. But I think there something more, when runnig the form the menu appears all alone not as a part of the form. I want that menu to be attached to this form and nothing else.
Position the Toolbar where you want it, then:
View ==> Toolbars ==> Customize ==> Select Toolbar ==> Properties ==> Set Docking Options to Can't Change
Apr 24 '07 #5
Position the Toolbar where you want it, then:
View ==> Toolbars ==> Customize ==> Select Toolbar ==> Properties ==> Set Docking Options to Can't Change


Didn't work. Same result
Apr 26 '07 #6
Any Help?

I tried those solutions to create a menu in the form, nothing worked.
Apr 28 '07 #7
ADezii
8,834 Expert 8TB
Any Help?

I tried those solutions to create a menu in the form, nothing worked.
To attach a Menu Bar to a specific Form:
  1. Forms
  2. Your Form
  3. Design
  4. Properties
  5. Other
  6. Menu Bar = <your menu bar name>
Apr 28 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Brian | last post by:
Create a simple MDI form and a child form, and try the following simple code to add a new menu item on the Edit menu popup: private void editMenu_Popup(object sender, System.EventArgs e) {...
3
by: dencdr | last post by:
Hi, I have an application VB.NET (using Form Win32) with no icon in TaskBar. When a FORM of this application is visible I see this application in the list of "Alt+Tab" choice. How do for...
1
by: Kent | last post by:
Hi All, I am in the early stages of designing an application. I want to create an application with a MDI Form. There will be a menu bar at the top. One of the menu items will be Reports. At first...
3
by: Asad | last post by:
Hi, I am trying to write my first Windows application using VB.NET and I am having some difficulties designing the UI. Basically its one Windows Form with 4 menus on the top (no drop downs)....
3
by: prakashwadhwani | last post by:
When my application starts 2 toolbars still remain open 1) Form View and 2) Formatting (Form/Report) Toolbar Also ... Access's default Menu-Bar also remains open. How to switch it off at...
3
by: asadikhan | last post by:
Hi, I have written a windows application with a GUI (let's call it MENU). I own the code for this application and have access to it. We have another application that is a third-part windows...
2
by: vidhyapriya | last post by:
Hi all, I am creating user controls for developing menu for my application.I am not using default menu bar,creating my own menu using user controls.I want my user controls above the form.For Example...
4
by: =?ISO-8859-15?Q?Albe_V=B0?= | last post by:
In my Application, I need to make a certain graphical refresh, interrogating SqlServer, only if Application has focus (i.e. the title bar is blue). Interrogating .Focused property of various...
7
by: =?Utf-8?B?U2hpdmEgUmFtYW5p?= | last post by:
I have a windows application with multiple forms & another web application. Now I need a parent EXE or Application which need to act as a container to these application. Example : My existing Web...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.