I am having an issue trying to build a list of all the templates in laserfiche.
I can access the templateinforeader but I can not enumerate the list
Does anyone have an example?
templateList = Template.EnumAll(mySess)
Dim TemplateCount As Integer = templateList.Count
Dim Myenumerator As IEnumerator = templateList.GetEnumerator
While Myenumerator.MoveNext
Me.CBTemplate.Items.Add(Myenumerator.Current.ToString)
End While
the above snippet stops at the while statement what am I doing wrong?