Accessing/Modifying Zenon-Listbox form VSTA
Hello,
i need do add Vaules to a Zenon Listbox and read the selected Elements form VSTA.
I have tryed the same way like in VBA but it doesn't work.
C# Code:
ListBox MyListBox = new ListBox();
MyListBox = (ListBox)this.DynPictures().Item("Windowname").Elements().Item("ListBoxName").AktiveX();
MyListBox.Items.Add("Tru Tra Tralla");
Well i hope someone can help me.
This is a migrated post! Originally posted on 31.01.2011 by user sph11. Please be aware that information can be outdated.