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 / September 2006

Tip: Looking for answers? Try searching our database.

Creating a VSS addin which provides a context menu

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt Adamson - 21 Sep 2006 14:19 GMT
Guys,

Do you if it's possible to develop an add in which provides a context menu
in Visual Source Safe 6.0d so you can apply certain commands within the GUI
which are custom

If so what SDK would I require? Would this be the VSIP SDK and which version
would I need?

Cheers

Matt
Carlos J. Quintero [VB MVP] - 25 Sep 2006 09:12 GMT
Hi,

You can interact with a source control provider by two means:

- With the GUI tools for that provider, such as Visual SourceSafe Explorer /
Administrator. AFAIK, these apps are not extensible through add-ins.

- With the programming IDE (ex: Visual Studio), which supports integration
with source code control providers through plugins. These IDEs are
extensible through addins or VS Packakes (VS SDK).

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

> Guys,
>
[quoted text clipped - 8 lines]
>
> Matt
Matt Adamson - 27 Sep 2006 22:13 GMT
Hi Carlos,

Visual SourceSafe Explorer is extensible through add ins as I've written one
however I can't seem to easily how to integrate into the context menu e.g.
when right clicking on a file in the explorer.

Cheers

Matt

> Hi,
>
[quoted text clipped - 19 lines]
>>
>> Matt
Carlos J. Quintero [VB MVP] - 28 Sep 2006 09:57 GMT
Hi Matt,

I am not familiar with VSS add-ins (where is the Add-in Manager in the VSS
Explorer and which is the extensibility dll?) but anyway the usual way in MS
dev tools to add a context menu is to use the CommandBars collection of the
app object (VBE in VB6, DTE in VS.NET, etc.), locate by name the commandbar
of the context menu and then call CommandBar.Controls.Add(...).

To give you an idea, see these articles of mine

HOWTO: Adding buttons, commandbars and toolbars to Visual Studio .NET from
an add-in.
HOWTO: Add a popup command bar to the context menu of a code window of
Visual Studio .NET.
HOWTO: Guessing the name of a command bar to add a custom menu entry in
Visual Studio .NET add-ins.

at:

http://www.mztools.com/resources_vsnet_addins.htm

While they refer to VS.NET, for VB6 (cousing of VSS 6.0) they were
similar,with the only difference that VS.NET introduced commands and you use
Command.AddControl(commandBar) while VB6 lack them and you use
CommandBar.Controls.Add.

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 - 5 lines]
>
> Matt

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.