XML DOM Question:
Download Questions PDF

How do I retrieve the comment from a specific version of a file?

Answer:

This requires that you iterate through each version of the file looking for the label you want. Once the correct version of the file is identified you can retrieve the comment for that version. Below is some sample VB code demonstrating this: For Each objVSSVersion In objVSSObject.Versions If objVSSVersion.Action = "Beta 1" Then MsgBox(objVSSVersion.LabelComment) End If Next

Download XML DOM Interview Questions And Answers PDF

Previous QuestionNext Question
What does CVS stand for? Can you describe it in one sentence?Is it possible to trap file deletions and rollbacks using an add-in/VSS Ole Automation?