This content has been marked as final. Show 2 replies
I have done it before, but I was using the IEdmFile5::ChangeState method to do it.
Place the comment before adding the file.
SecondBatchChangeState.Comment = "******Reason for Change********" SecondBatchChangeState.AddFile(myFileObj.ID, MyRetFldrObj.ID) SecondBatchChangeState.CreateTree("Automated Macro") 'Name of Transisition to perform, not the go-to state name SecondBatchChangeState.ChangeState(0) 'Transition files