Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / October 2004

Tip: Looking for answers? Try searching our database.

How to disable the Menu Item in Vs.net 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anoop Menon - 11 Oct 2004 12:29 GMT
Hi,

Can any one tell me how to disable the "File-->New" menu item in Vs.net 2003

Thanks for your Help

Anoop
Carlos J. Quintero [MVP] - 11 Oct 2004 16:54 GMT
I am not sure if you could do that from an add-in, but why do you want to do
that?

Signature

Carlos J. Quintero (Visual Developer - .NET MVP)

The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com

> Hi,
>
[quoted text clipped - 3 lines]
>
> Anoop
Anoop Menon - 12 Oct 2004 06:18 GMT
I want to create my own solution having C# Class library,DB Project and Web
Project. Now i
don't want users to add any more prjects to the existing solution.

Thanks,

Anoop

> I am not sure if you could do that from an add-in, but why do you want to do
> that?
[quoted text clipped - 7 lines]
> >
> > Anoop
Carlos J. Quintero [MVP] - 13 Oct 2004 12:18 GMT
I don´t think that you will be able to disable the New menu and in any case,
you would have to do it only when the IDE has your solution loaded, not
always! There are solutions add-ins, that is, add-ins that are
solution-specific and not general. Maybe you can create one of them that
disables or intercepts the File.AddNewProject command.

But in general, if users are outside your company, they should be able to do
whatever they want with their solutions. If they are in your company and all
this is only for a specific company project, you can use SourceSafe and
checkout exclusively the solution file.

Just a few pointers...

Signature

Carlos J. Quintero (Visual Developer - .NET MVP)

The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com

> I want to create my own solution having C# Class library,DB Project and Web
> Project. Now i
[quoted text clipped - 3 lines]
>
> Anoop
Anoop Menon - 13 Oct 2004 14:56 GMT
Carlos,

Thanks for your help.

Regards,

Anoop

> I don´t think that you will be able to disable the New menu and in any case,
> you would have to do it only when the IDE has your solution loaded, not
[quoted text clipped - 17 lines]
> >
> > Anoop

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.