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 / IDE / May 2006

Tip: Looking for answers? Try searching our database.

Website solution explorer context menu

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sean - 12 May 2006 14:17 GMT
Hello,
I'm trying to create a plugin which connects to the website's solution
explorer context menu, and for particular files enables a custom command.
This works great for class library projects, but not for websites. I have
already posted here with source code
(http://forums.asp.net/thread/1265317.aspx), but no luck.
Thank you for help,

Sean
Carlos J. Quintero [VB MVP] - 16 May 2006 14:42 GMT
Hi Sean,

Be aware that VS 2005 uses a different model for web sites (compared to
VS.NET 2003) and uses new names for web sites context menus commanbars ("Web
Item", "Web Folder", etc.). See my articles:

HOWTO: Guessing the name of a command bar to add a custom menu entry in
Visual Studio .NET add-ins.
http://www.mztools.com/articles/2004/MZ002.htm

INFO: Changes in the extensibility of Visual Studio 2005 Web Projects
http://www.mztools.com/Articles/2006/MZ020.htm

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

> Hello,
> I'm trying to create a plugin which connects to the website's solution
[quoted text clipped - 5 lines]
>
> Sean
Sean - 16 May 2006 15:04 GMT
Hi Carlos,

Thank you for reply. I was trying to use the macro you provided, didn't help
that much. The thing is that I can attach my addin to the solution, and I see
it there, just disabled and not responding...

> Hi Sean,
>
[quoted text clipped - 18 lines]
> >
> > Sean
Carlos J. Quintero [VB MVP] - 17 May 2006 11:25 GMT
Hi Sean,

Which is exactly the problem: that your menu entry does not appear in the
context menu because you don´t find the correct commandbar or that it
appears but it is disabled? For the former, I answered with a couple of
articles. For the latter, it could be a problem in your
IDTCommandTarget.QueryStatus method. Can you debug that procedure of your
add-in?

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

> Hi Carlos,
>
[quoted text clipped - 29 lines]
>> >
>> > Sean
Sean - 17 May 2006 14:34 GMT
Hi Carlos,

I can debug it. The entry appears, it's just disabled. I could debug the
connect point, but not the Querystatus since it was never called (the item is
disabled). I posted on forums.asp.net under VS.NET 2005 - an ASP.NET team
member promissed to look at at, but never got an answer.

> Hi Sean,
>
[quoted text clipped - 38 lines]
> >> >
> >> > Sean

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.