EBDN - Community - Question & Answers

  Thursday, 05 November 2020
  3 Replies
  759 Visits
0
Votes
Undo
Hi guys,
i'm converting some VBA macros that i wrote years ago to VB.net . Actually i'm not able to access children of an objectitem with string. Example:

stencil = Application.Folders.Stencils.Children("Dispositivi";).Children("Morsetti e Blocchi";).Children("Morsetto";).Children("Morsetti Report Macro";)

It seems that now it's only possible to navigate with integer index of children. Am i correct? How can i access the children by name without cycling trough all the children for the matching name?