473,671 Members | 2,155 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[Repost] MergeMenu and CloneMenu not working in VS 2005 beta 1

Neo
Sorry for reposting, subject line was incorrect...
These are not working in Visual Studio .NET 2005 beta 1 (no such methods)
mainMenu1.Merge Menu(contextMen u1);

and

myContextMenu.M enuItems.Add(fi leMenuItem.Clon eMenu());
Are these being changed from Visual Studio 2003 to VS2005 ???

-Neo

Nov 17 '05 #1
2 1477
Neo,

What makes you think they do not work? Do you get an exception? Or
something else? I can see the methods in the documentation, and in
Reflector as well.

What is occuring? Can you post an example?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Neo" <ti************ *********@NOS0A Myahoo.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Sorry for reposting, subject line was incorrect...
These are not working in Visual Studio .NET 2005 beta 1 (no such methods)
mainMenu1.Merge Menu(contextMen u1);

and

myContextMenu.M enuItems.Add(fi leMenuItem.Clon eMenu());
Are these being changed from Visual Studio 2003 to VS2005 ???

-Neo

Nov 17 '05 #2
Neo
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:uA******** ******@TK2MSFTN GP15.phx.gbl...
Neo,

What makes you think they do not work? Do you get an exception? Or
something else? I can see the methods in the documentation, and in
Reflector as well.

What is occuring? Can you post an example?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Neo" <ti************ *********@NOS0A Myahoo.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Sorry for reposting, subject line was incorrect...
These are not working in Visual Studio .NET 2005 beta 1 (no such methods)
mainMenu1.Merge Menu(contextMen u1);

and

myContextMenu.M enuItems.Add(fi leMenuItem.Clon eMenu());
Are these being changed from Visual Studio 2003 to VS2005 ???

-Neo


Sorry that was my mistake, Actually I've created the control (menu) of type
System.Windows. Form.MenuStrip and that doesn't have MergerMenu() method.
Documentation says :

MainMenuStrip
"Provides a menu system for a form. Although MenuStrip replaces and adds
functionality to the MainMenu control of previous versions, MainMenu is
retained for both backward compatibility and future use if you choose."
By default MainMenuStrip appear on the Toolbox.

Same is the case with "ContextMenu".. .. So, now I've created an instance of
type ContextMenu.... But the problem is how do I assign it to Form as its
context menu???? It has no property called ContextMenu, instead it has a
property "ContextMenuStr ip"... How can I use ContextMenu then????
Thanks,
-Neo
Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1037
by: Neo | last post by:
These are not working in Visual Studio .NET 2005 beta 1 (no such methods)mainMenu1.MergeMenu(contextMenu1);andmyContextMenu.MenuItems.Add(fileMenuItem.CloneMenu());Are these being changed from Visual Studio 2003 to VS2005 ???-Neo
14
2826
by: Steve McLellan | last post by:
Hi, Sorry to repost, but this is becoming aggravating, and causing me a lot of wasted time. I've got a reasonably large mixed C++ project, and after a number of builds (but not a constant number) linking (and sometimes compiling) becomes immensely slow, and task manager shows that link.exe (or cl.exe) is barely using any processor time, but an awful lot of RAM (around 150-200MB). I'm going to keep an eye on page faults since I can't...
8
2521
by: jojobar | last post by:
Okay, I am trying to do is to test the webresource in 2.0 1. I created a new project with assembly name (and default assembly name) "Office". 2. I added the following to the AssemblyInfo.cs file (present under the Properties folder of the project) 3. Now I created a file called test.js on the root folder of the project,
2
1805
by: Lev Elbert | last post by:
Hi, all! Right to the topic: In the main menu of the form I have View->Image-and then 4 submenu items (let's call them original submenu). I want the same submenu as a Context menu. To do this I use such construct: foreach (MenuItem mi in this.menuImage.MenuItems) {
0
8393
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8914
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8820
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8670
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7433
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6223
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5695
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2810
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.