1.

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

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



Discussion

No Comment Found