>>Here's a link to msdn on automating VSS.
>>
>>
http://msdn.microsoft.com/library/default.asp?URL=/library/techart/vssauto.htm>>
>>Hope it helps.
>>>Anybody knows how to search for a file been checked out (or have not) thru all folders? Just like VSS View/Search does.
>>>Thanks Mark
>Well I am kind of using that. I cannot find anything about search thru all the folders.
>Mark
Within that article I mentioned there are 2 examples which should help you out. The first is regarding the VSSItems collection which can be searched to determine if a particular item is a project or a file. Once you have a project item you can look at its Checkouts collection to see all items which are checked out within the project item.
The 2 sections are :
Items([IncludeDeleted As Boolean]) As IVSSItems
CheckOuts As IVSSCheckOuts (Read-only)
Hope this helps,
Jake
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin