search
Twitter Rss Feeds
MicrosoftArticlesForumsGroups
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml/Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsGroups
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsGroups
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsGroups
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsGroups
Microsoft Excel
Microsoft Word
Microsoft Powerpoint
Publisher
Money

Operating SystemsArticlesForumsGroups
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsGroups
Share Point
BizTalk
Site Server
Exhange Server
IIS
Transaction Server

Graphic DesignArticlesForumsGroups
Macromedia Flash
Adobe PhotoShop
Microsoft Expression

OtherArticlesForumsGroups
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Reviews
Search Engines
Resumes

 

Previous Thread:   Multiple Releases in Visual SourceSafe

9/20/2005 12:59:02 PM    IVssVersion.Action member doesn't have enough info
This question is about the "Action" member of the IVssVersion interface.  I'm  
  
using the C++ interface and ssapi.h, in case that makes any difference.  
  
I'm trying to reconstruct a project history.  I've managed to get an  
  
IVssVersions object for the project, then create an enumerationm which I  
  
iterate, and get individual IVssVersion objects.  
  
My basic problem is that for versions representing the addition of files or  
  
folders to the project, the "action" string member contains only the text  
  
"added ".  (That's right, it has "added" plus one space character.)  
  
I need to be able to answer the obvious question: added what?  
  
You can get an IVssItem for the version, and one would assume that this item  
  
represents the file/folder that was added.  Buit it doesn't - the item  
  
corresponds to the parent project to which the file/folder was added.  
  
All of the examples I could find showing how to dump history nimbly  
  
sidesteepped this issue by not having any examples of files being added.  But  
  
surely the information is available, but in a convoluted manner.  So I guess  
  
my question is - what are the convolutions?  
  
And in case it matters, i suspect that my question also applies to the "file  
  
deleted" action.

10/24/2005 11:42:39 PM    Re: IVssVersion.Action member doesn't have enough info
Unfortunately, this information is not accessible via this interface.  In an  
  
application I wrote to create an rss feed around sourcesafe, I actually  
  
execute and parse the results of the command line -history specifying the  
  
particular version as a range.  
  
HTH,  
  
Wayne  
  
"Fletcher Dunn" <FletcherDunn@discussions.microsoft.com> wrote in message  
  
news:B6E4E468-7847-4C7A-A751-E8AD17C24A5E@microsoft.com...


Pete's Blog   |    Pete's Resume   |    Robbe's Blog   |    Robbe's Resume   |    Archive #2   |    Archive #3   |    Dotnetslackers   |    XmlPitStop   |    Advertise   |   Contact Us   |   Privacy   |   Copyright (c) 2000 - 2009 eggheadcafe.com  All rights reserved.